public async Task <IHttpActionResult> createDocument(object forDocument) { /////////////меняяяяяяяяяяяяяяяяяяяяять на currentUserId List <object> forExhibition = await DocumentCreatorManager.DogsInExhebitionWhithDiplomaAndAchievment(forDocument); return(WrapSuccess(forExhibition)); }
public async Task <IHttpActionResult> GetEventsForDecentPeriodByOrganizationId(int OrganizationId, string startDate, string endDate) { List <Event> events = await DocumentCreatorManager.GetEventsForDecentPeriodByOrganizationId(OrganizationId, startDate, endDate); return(WrapSuccess(events)); }