public Task <List <Hero> > GetHeroes(HeroDeckPostModel postModel) { var filter = postModel.Filter; var rules = postModel.Rules; return(_heroBLC.GetHeroes(filter, rules)); }
public async Task <List <Hero> > Post([FromBody] HeroDeckPostModel postModel) { return(await _blc.GetHeroes(postModel)); }