Exemplo n.º 1
0
        public Task <List <Hero> > GetHeroes(HeroDeckPostModel postModel)
        {
            var filter = postModel.Filter;
            var rules  = postModel.Rules;

            return(_heroBLC.GetHeroes(filter, rules));
        }
Exemplo n.º 2
0
 public List <Hero> Get()
 {
     try
     {
         return(_blc.GetHeroes());
     }
     catch (Exception ex)
     {
         throw new HttpRequestException(ex.Message);
     }
 }