public int Update(TransactionItemVM transactionItemVM) { if (string.IsNullOrWhiteSpace(transactionItemVM.ItemId.ToString())) { return(status); } else { return(_transactionItemRepository.Update(transactionItemVM)); } }
public int Update(int Id, TransactionItemVM transactionItemVM) { return(_transactionItemRepository.Update(Id, transactionItemVM)); //throw new NotImplementedException(); }
public int Update(int id, TransactionItemVM transactionItemVM) { return(_transactionRepository.Update(id, transactionItemVM)); }