first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
using Fitness_core_BE.Models;
namespace Fitness_core_BE.Interfaces
{
public interface IBookingRepository
{
Task<Booking> CreateBooking(Booking booking);
Task<Booking?> GetBookingById(Guid bookingId);
// "Confirmed" only -- an OTP that's already been used/cancelled shouldn't check anyone in.
Task<Booking?> GetActiveBookingByOtp(string otpCode);
Task<List<Booking>> GetBookingsForSession(Guid facilitySessionId);
Task<List<Booking>> GetBookingsForCustomer(Guid customerId);
Task<bool> CustomerHasActiveBookingForSession(Guid facilitySessionId, Guid customerId);
}
}