コード例 #1
0
 public Sucursal GetSucursal(Expression <Func <Sucursal, bool> > criteria)
 {
     return(SucursalDao.Get(criteria));
 }
コード例 #2
0
 public List <Sucursal> GetAllSucursal(string conditions, string orders)
 {
     return(SucursalDao.GetAll(conditions, orders));
 }
コード例 #3
0
 public Sucursal GetSucursal(int id)
 {
     return(SucursalDao.Get(id));
 }
コード例 #4
0
 public List <Sucursal> GetAllSucursal(Expression <Func <Sucursal, bool> > criteria)
 {
     return(SucursalDao.GetAll(criteria));
 }
コード例 #5
0
 public List <Sucursal> GetAllSucursal(string orders)
 {
     return(SucursalDao.GetAll(orders));
 }
コード例 #6
0
 public void DeleteSucursal(int id)
 {
     SucursalDao.Delete(id);
 }
コード例 #7
0
 public List <Sucursal> GetAllSucursal()
 {
     return(SucursalDao.GetAll());
 }
コード例 #8
0
 public void UpdateSucursal(Sucursal entity)
 {
     SucursalDao.Update(entity);
 }
コード例 #9
0
 public int SaveSucursal(Sucursal entity)
 {
     return(SucursalDao.Save(entity));
 }
コード例 #10
0
 public long CountSucursal(Expression <Func <Sucursal, bool> > criteria)
 {
     return(SucursalDao.Count(criteria));
 }
コード例 #11
0
 public long CountSucursal()
 {
     return(SucursalDao.Count());
 }
コード例 #12
0
        public bool CodigoSucursalExiste(string codigoSucursal)
        {
            var sucursal = SucursalDao.Get(x => x.Codigosucursal.Trim() == codigoSucursal.Trim());

            return(sucursal != null);
        }