Esempio n. 1
0
        public async Task <List <TModel> > GetListByPeriodAndArea(Period period, SalesAreaHierarchy region)
        {
            CriteriaBuilder criteriaBuilder = new CriteriaBuilder();

            return(await LocalController.GetManyByCriteria(
                       criteriaBuilder
                       .Add("Period", (int)period)
                       .Add("Region", (int)region)));
        }