Refactor CustomerPlanService to use FacilityRepository, remove PlaceService, and introduce RfidTagService
- Updated CustomerPlanService to replace references to PlaceRepo with FacilityRepository for managing customer plans and associated facilities. - Removed PlaceService and its related methods, consolidating functionality into FacilityService. - Added RfidTagService for managing RFID tags, including methods for creating, updating, and setting statuses of tags. - Updated TenantDbContext to include new DbSet for RfidTags and CustomerPlanFacilities, and adjusted model configurations accordingly. - Enhanced FacilityService to support new booking modes and validation for facility creation and updates.
This commit is contained in:
@@ -12,5 +12,10 @@ namespace Fitness_core_BE.Interfaces.Services
|
||||
Task<object> CreateFacilitySession(object payload, HttpContext httpContext);
|
||||
Task<object> GetSessions(object payload, HttpContext httpContext);
|
||||
Task<object> CancelFacilitySession(object payload, HttpContext httpContext);
|
||||
|
||||
// Absorbed from the old IPlaceService.
|
||||
Task<object> AssignDevice(object payload, HttpContext httpContext);
|
||||
|
||||
Task<object> GetAvailability(object payload, HttpContext httpContext);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user