public string Remove(Passport passport, string key) { return(dal.DeleteBill(passport, key) > 0 ? "" : ErrorMsg.DeleteFailMsg()); }
public string Update(Passport passport, Bill item) { return(dal.UpdateBill(item) > 0 ? "" : ErrorMsg.UpdateFailMsg()); }
public string Remove(Passport passport, string id) { return(dal.DeleteBillGoods(id) > 0 ? "" : ErrorMsg.DeleteFailMsg()); }
public string Update(Passport passport, BillGoods item) { return(dal.UpdateBillGoods(passport.EnterpriseId, item) > 0 ? "" : ErrorMsg.DeleteFailMsg()); }
public string UpdateAddressId(Passport passport, BillCustomer item) { return(dal.UpdateAddressId(item) > 0 ? "" : ErrorMsg.UpdateFailMsg()); }