public int UptBargain([FromForm] Model.Bargain bargain) { try { logger.Debug($"用户对砍价列表进行修改,修改的ID为:{bargain.BargainId}"); int i = _bargainRepository.UptDate(bargain); return(i); } catch (Exception) { throw; } }
public int UptBargain(Model.Bargain bargain) { int i = _bargainRepository.UptDate(bargain); return(i); }