public async Task <TEntity> FindByIdAsync(int id) { using var context = new OuzDevBlogContext(); return(await context.FindAsync <TEntity>(id)); }