public int SeckillComUpt([FromForm] IOT.Core.Model.SeckillCom a) { try { logger.Debug($"用户对秒杀商品列表进行修改,修改的名称为:{a.SeckillComId}"); int i = _seckillComRepository.Uptdate(a); return(i); } catch (Exception) { throw; } }
public int SeckillComAdd([FromForm] IOT.Core.Model.SeckillCom a) { try { logger.Debug($"用户对秒杀商品列表进行添加,添加的名称为:{a.SeckillTitle}"); int i = _seckillComRepository.Insert(a); return(i); } catch (Exception) { throw; } }
public int SeckillComUpt(IOT.Core.Model.SeckillCom a) { return(_seckillComRepository.Uptdate(a)); }
public int SeckillComAdd(IOT.Core.Model.SeckillCom a) { int i = _seckillComRepository.Insert(a); return(i); }