public async Task DeleteAsync(TEntity entity)
 {
     using WorksJwtContext context = new WorksJwtContext();
     context.Set <TEntity>().Remove(entity);
     await context.SaveChangesAsync();
 }
 public async Task InsertAsync(TEntity entity)
 {
     using WorksJwtContext context = new WorksJwtContext();
     context.Set <TEntity>().Add(entity);
     await context.SaveChangesAsync();
 }