public async Task <int> Update(long id, Contact model) { model.Company = null; ContactLogic.Update(id, model); return(await DbContext.SaveChangesAsync()); }
public async Task <int> Update(long id, Contact model) { model.Company = null; ContactLogic.Update(id, model); return(await DbContext.SaveChangesAsync()); }