public Task RemoveItemAsync(PurchasingGroup entity) { _context.Groups.Remove(entity); return(Task.CompletedTask); }
public Task <PurchasingGroup> UpdateItemAsync(PurchasingGroup item) { var result = _context.Update(item).Entity; return(Task.FromResult(result)); }
public async Task <PurchasingGroup> AddItemAsync(PurchasingGroup item) => (await _context.Groups.AddAsync(item)).Entity;