Exemple #1
0
 public ControllerResponse ApproveDoctor([FromBody] int doctorId)
 {
     if (!doctorId.ValidationId())
     {
         return(ControllerResponse.Warning("Запрос не был правильно сформирован, повторите попытку"));
     }
     _adminServices.ApproveDoctor(doctorId);
     return(ControllerResponse.Ok());
 }