public IActionResult New(NewModel model)
        {
            if (ModelState.IsValid)
            {
                //TODO: ieraksta saglabāšana
                var ad = new Logic.Advertisement()
                {
                    Title       = model.Title,
                    CategoryId  = model.CategoryId,
                    Price       = model.Price,
                    Location    = model.Location,
                    Phone       = model.Phone,
                    Email       = model.Email,
                    Description = model.Description,
                    Time        = DateTime.Now
                };
                _advertisements.Create(ad);
                model.Categories = _categories.GetAll();

                TempData["message"] = "Advertisement created!";
                return(RedirectToAction("Advertisement", new { id = ad.Id }));
            }

            return(View(model));
        }