public Task <ServiceAgreement> GetSingleServiceAgreementByEventSlot(int eventId, int spsId) { _eventValidator.ValidateEventExists(eventId); _serviceSlotValidator.ValidateServiceProviderSlotExists(eventId, spsId); _agreementValidator.ValidateAgreementExists(eventId, spsId); _eventValidator.CanReadEvent(eventId); return(null); }
public Task <IEnumerable <ServiceSlot> > GetAllServiceSlotsForEventAsync(int eventId) { _eventValidator.ValidateEventExists(eventId); _eventValidator.CanReadEvent(eventId); return(null); }
public Task <Location> GetLocationForEventAsync(int eventId) { _eventValidator.ValidateEventExists(eventId); _eventValidator.CanReadEvent(eventId); return(null); }