Пример #1
0
 public async Task <IHttpActionResult> AddSlots(CandidateSubmissionAppointmentSlotViewModel data)
 {
     try
     {
         string userId = User.Identity.GetUserId();
         return(Ok((await _service.AddSlots(data.AppintmentID, data))));
     }
     catch (Exception)
     {
         throw;
     }
 }