public async Task <IActionResult> Create([Bind("MileStoneId,EmployeeSkillValueId,Date")] MileStone mileStone, string Login)
        {
            if (ModelState.IsValid)
            {
                _context.Add(mileStone);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index", "MileStones", new { login = Login }));
            }
            ViewData["EmployeeSkillValueId"] = new SelectList(_context.EmployeeSkillValue, "EmployeeSkillValueId", "EmployeeSkillValueId", mileStone.EmployeeSkillValueId);
            return(View(mileStone));
        }
        public async Task <IActionResult> Create([Bind("CommentId,AuthorId,MileStoneId,CommentValue")] Comment comment, string Login)
        {
            if (ModelState.IsValid)
            {
                _context.Add(comment);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index", "MileStones", new { login = Login }));
            }
            ViewData["MileStoneId"] = new SelectList(_context.MileStone, "MileStoneId", "MileStoneId", comment.MileStoneId);
            return(View(comment));
        }