public ActionResult EditSprint(Guid sprintid, Guid projectId)
        {
            var model = new SprintViewModel()
            {
                ProjectId = projectId,
                Sprint = _sprintService.FindById(sprintid)

            };

            return View(model);
        }
        public ActionResult EditSprint(SprintViewModel model)
        {
            var userId = User.Identity.GetUserId();
            if (userId == null)
            {
                return RedirectToAction("Login", "Profile");
            }

            var user = _applicationUserManager.FindById(userId);
            if (user == null)
            {
                return RedirectToAction("Login", "Profile");
            }

            if (ModelState.IsValid)
            {
                _sprintService.Update(model.Sprint);
                return RedirectToAction("Details", new { id = model.ProjectId });
            }

            return View();
        }
        public ActionResult CreateSprint(Guid id)
        {
            var model = new SprintViewModel()
            {
                ProjectId = id
            };

            return View(model);
        }