public ActionResult Create(OpenDay view) { var response = MovementsHelper.NewCollectionTmp(view, User.Identity.Name); if (ModelState.IsValid) { //db.OpenDays.Add(openDay); //await db.SaveChangesAsync(); return(RedirectToAction("Index")); } ViewBag.CompanyId = new SelectList(db.Companies, "CompanyId", "Name", view.CompanyId); return(View(view)); }