public IEnumerable <MainLotItem> CardLots([FromQuery] int page, [FromQuery] int company, [FromServices] LotService lotService) { var filter = new LotFilter { isAllowedIndividual = true, isAllowedJuridic = true, from = (page - 1) * 2, to = (page) * 2, companyId = company }; return(lotService.CardItems(filter)); }