Example #1
0
 public string ActualizarPerfil(T_C_Perfil perfil)
 {
     try
     {
         if (perfil.Nombre == string.Empty)
         {
             throw new Exception();
         }
         if (perfil.Id_Estado <= 0)
         {
             throw new Exception();
         }
         return(perfilAccess.ActualizarPerfil(perfil));
     }
     catch
     {
         return("Error al ingresar datos.");
     }
 }
Example #2
0
 public void ActualizarPerfil(Perfil _perfil)
 {
     _perfilDataAccess.ActualizarPerfil(_perfil);
 }