public async Task Delete(TModel entity) { _customerOrderContext.Remove <IEntity>(entity); await _customerOrderContext.SaveChangesAsync(); }