Exemple #1
0
 public IHttpActionResult addpermisos(string email, string role)
 {
     try
     {
         BLAdmin bl = new BLAdmin();
         return(Ok(bl.add(email, role)));
     }
     catch (Exception e)
     {
         return(Content(HttpStatusCode.InternalServerError, e.Message));
     }
 }