public async Task <IActionResult> Index(string searchkeyword) { return(View(await this.context.Students.Where(student => WSDataContextBroker.SoundsLike(student.Name) == WSDataContextBroker.SoundsLike(searchkeyword)) .ToListAsync())); }
public StudentsController(WSDataContextBroker context) { this.context = context; }