예제 #1
0
 public async Task <ActionResult <bool> > Delete(int permisoId)
 {
     try
     {
         return(await _permisoService.Delete(permisoId));
     }
     catch
     {
         return(NotFound());
     }
 }
예제 #2
0
 public bool Eliminar(int ID)
 {
     return(Permisoservice.Delete(ID));
 }