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