private GetUsers ( string email ) : System.Web.Mvc.JsonResult | ||
string | ||
return | System.Web.Mvc.JsonResult |
public JsonResult GetUsers(string email)
{
return this.Json(repository.Users.Where(x => x.Email.StartsWith(email)).Select(x => x.Email).ToList());
}