public async Task <ActionResult> Create()
        {
            var model   = new TaskResult <ComplaintsDto>();
            var options = await _complaintsOptionsRepository.GetAllAsync();

            ViewBag.ComplaintsOptions = options.Data.Select(e => new SelectListItem {
                Value = e.Id.ToString(), Text = e.Name
            }).ToList();
            var products = await _productsRepository.GetAllAsync();

            ViewBag.Products = products.Data.Select(e => new SelectListItem {
                Value = e.Id.ToString(), Text = e.Name
            }).ToList();
            var customers = await _customeRepository.GetAllAsync();

            ViewBag.Customers = customers.Data.Select(e => new SelectListItem {
                Value = e.Id.ToString(), Text = $"{e.Name} {e.LastName} ({e.Email})"
            }).ToList();
            var ticketTypes = await _ticketTypesRepository.GetAllAsync();

            ViewBag.TicketTypes = ticketTypes.Data.Select(e => new SelectListItem {
                Value = e.Id.ToString(), Text = e.Description
            }).ToList();
            return(View(model));
        }
        public async Task <ActionResult> Index()
        {
            var model = await _complaintsOptionsRepository.GetAllAsync();

            return(View(model));
        }