public int Update(CostCenterEntity t, string[] properties = null) { using (BrightourDbContext db = new BrightourDbContext()) { return(db.Update(t, properties)); } }
public int AddCostCenter(CostCenterModel costCenterModel) { CostCenterEntity costCenterEntity = Mapper.Map <CostCenterModel, CostCenterEntity>(costCenterModel); costCenterEntity.IsHidden = "F"; costCenterEntity = _costCenterDal.Insert(costCenterEntity); return(costCenterEntity.Cid); }
public int Insert(CostCenterEntity t) { throw new NotImplementedException(); }
public int Delete(CostCenterEntity t) { throw new NotImplementedException(); }