public async Task <T> GetById <T>(int id) where T : BaseEntity { return(await _context.FindAsync <T>(id)); }