public ActionResult Create(BeachViewModel model)
        {
            if (ModelState.IsValid)
            {
                var beach = new Beach();
                beach.InjectFrom<UnflatLoopValueInjection>(model);
                _service.CreateBeach(beach);
                return RedirectToAction("Manager");
            }

            return View(model);
        }
 public Beach CreateBeach(Beach beach)
 {
     _dataContext.Beaches.Add(beach);
     SaveChanges();
     return beach;
 }