public async Task <ActionResult> GetAll([FromQuery] string filter) { var result = _heroesRepository.GetAll(filter); return(new JsonResult(result)); }