public List <Area> GetAll() { try { using (BusinessArea negocio = new BusinessArea()) { return(negocio.ObtenerAreas(true)); } } catch (Exception) { throw; } }
public List <Area> ObtenerAreas(bool insertarSeleccion) { try { using (BusinessArea negocio = new BusinessArea()) { return(negocio.ObtenerAreas(insertarSeleccion)); } } catch (Exception ex) { throw new Exception(ex.Message); } }