7d8a8478ff
- 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.
22 lines
902 B
C#
22 lines
902 B
C#
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace Fitness_core_BE.Interfaces.Services
|
|
{
|
|
public interface IFacilityService
|
|
{
|
|
Task<object> GetAllFacilities(object payload, HttpContext httpContext);
|
|
Task<object> CreateFacility(object payload, HttpContext httpContext);
|
|
Task<object> UpdateFacility(object payload, HttpContext httpContext);
|
|
Task<object> SetFacilityStatus(object payload, HttpContext httpContext);
|
|
|
|
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);
|
|
}
|
|
}
|