Exemple #1
0
        public ActionResult getAreasInteres()
        {
            using (var AreaDao = new AreaDao())
            {
                IList <Area> tiendas = AreaDao.GetAll <Area>();

                return(Json(tiendas, JsonRequestBehavior.AllowGet));
            }
        }
Exemple #2
0
        public static List <Area> GetAll()
        {
            try
            {
                List <Area>       lista;
                List <AreaEntity> entities;

                entities = AreaDao.GetAll();
                lista    = AreaMapper.GetAll(entities);

                return(lista);
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemple #3
0
 public DataTable GetAll()
 {
     return(organizationDAO.GetAll());
 }
Exemple #4
0
 public List <Area> GetAllArea(string conditions, string orders)
 {
     return(AreaDao.GetAll(conditions, orders));
 }
Exemple #5
0
 public List <Area> GetAllArea(string orders)
 {
     return(AreaDao.GetAll(orders));
 }
Exemple #6
0
 public List <Area> GetAllArea(Expression <Func <Area, bool> > criteria)
 {
     return(AreaDao.GetAll(criteria));
 }
Exemple #7
0
 public List <Area> GetAllArea()
 {
     return(AreaDao.GetAll());
 }