Пример #1
0
 public IHttpActionResult PostProcedure([FromBody] ProcedureInsertDto procedureInsert)
 {
     if (procedureInsert != null)
     {
         var result = _registrationService.AddProcedure(procedureInsert);
         return(Created("", result));
     }
     else
     {
         return(InternalServerError(new ArgumentNullException()));
     }
 }