public Task Update(ProductOption entity) { var productOptions = _ctx.ProductOptions.FirstOrDefault(x => x.Id == entity.Id); productOptions.SetName(entity.Name); productOptions.SetAccountingName(entity.AccountingName); productOptions.SetIsMultiple(entity.IsMultiple); productOptions.SetNomenclatureId(entity.NomenclatureId); productOptions.SetProductId(entity.ProductId); _ctx.Entry(productOptions).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(Currency currency) { _ctx.Entry(currency).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(Application application) { _ctx.Entry(application).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(TermsOfUse termsOfUse) { _ctx.Entry(termsOfUse).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(Tariff tariff) { _DbContext.Entry(tariff).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(ContractKind contractKind) { _ctx.Entry(contractKind).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(Setting setting) { _ctx.Entry(setting).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(ProductOptionTariff productOptionTariff) { _ctx.Entry(productOptionTariff).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(Product product) { _ctx.Entry(product).State = EntityState.Modified; return(Task.CompletedTask); }
public Task Update(AvailableTariffForUpgrade entity) { _ctx.Entry(entity).State = EntityState.Modified; return(Task.CompletedTask); }