Exemplo n.º 1
0
 public HttpResponseMessage Post(AddApplicationDTO dto)
 {
     try
     {
         return(ResponseWrapper.SuccessResponse(repository.AddOrUpdateApplication(dto, privilege.UserEditApplication)));
     }
     catch (Exception e)
     {
         return(ResponseWrapper.ExceptionResponse(e));
     }
 }