Ejemplo n.º 1
0
 public ResponseUserAdd UserAdd([FromBody] RequestUserAdd request)
 {
     try
     {
         PermissionBLL bll = new PermissionBLL();
         return(bll.UserAdd(request));
     }
     catch (Exception ex)
     {
         throw new HttpResponseException(
                   Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message));
     }
 }