public async Task <bool> Delete(TEntity entity) { Context.Remove(entity); try { await Context.SaveChangesAsync(); return(true); } catch (Exception) { return(false); } }