示例#1
0
 public AccountTariff Add(AccountTariff entity)
 {
     if (entity.Id == Guid.Empty)
     {
         entity.Id = Guid.NewGuid();
     }
     Context.AccountTariffs.Add(entity);
     return(entity);
 }
示例#2
0
 public void Remove(AccountTariff entity)
 {
     Context.AccountTariffs.Remove(entity);
 }
示例#3
0
 public AccountTariff Update(AccountTariff entity)
 {
     throw new NotImplementedException();
 }