public JsonResult AutoComplete(string Prefix)
        {
            List <Company> allseries = CL.GetAllCompanies().Where(x => x.Name.Contains(Prefix)).Select(x => new Company
            {
                Id   = x.Id,
                Name = x.Name
            }).ToList();

            return(Json(allseries));
        }
 public IActionResult CategoriesOfCompany()
 {
     var viewModel = new CategoriesOfCompanyViewModel();
     viewModel.Categories = _reviewCategoryLogic.GetCategoriesSelectForCompany(); //Hiermee kan je dan met een checkbox de public bool Selected true maken
     viewModel.Companies = _companyLogic.GetAllCompanies();
     return View(viewModel);
 }
        public IActionResult Send()
        {
            var viewModel = new SendReviewViewModel();

            viewModel.Companies = _companyLogic.GetAllCompanies();
            viewModel.Accounts  = _accountLogic.GetAllRockstarAccounts();
            return(View(viewModel));
        }