public async Task <string> ListPagination(int start, int limit)
        {
            VendorPagerList vendorPagerList = await _BadgerApiHelper.GenericGetAsync <VendorPagerList>("/vendor/listpageview/" + start + "/" + limit);

            dynamic VendorPageModal = new ExpandoObject();

            VendorPageModal.VendorCount = vendorPagerList.Count;
            VendorPageModal.VendorLists = vendorPagerList.vendorInfo;
            VendorPageModal.VendorType  = vendorPagerList.vendorType;

            return(JsonConvert.SerializeObject(VendorPageModal));
        }
        public async Task <IActionResult> Index()
        {
            VendorPagerList vendorPagerList = await _BadgerApiHelper.GenericGetAsync <VendorPagerList>("/vendor/listpageview/0/0");

            dynamic VendorPageModal = new ExpandoObject();

            VendorPageModal.VendorCount = vendorPagerList.Count;
            VendorPageModal.VendorLists = vendorPagerList.vendorInfo;
            VendorPageModal.VendorType  = vendorPagerList.vendorType;

            return(View("Index", VendorPageModal));
        }