예제 #1
0
 public async Task <IHttpActionResult> AddAppointmentuser(CandidateSubmissionAppointmentUserViewModel data)
 {
     try
     {
         string userId = User.Identity.GetUserId();
         return(Ok((await _service.AddAppointmentuser(data.UserID, data.AppointmentID, userId))));
     }
     catch (Exception)
     {
         throw;
     }
 }