public async Task <IActionResult> Create([Bind("Id,Employee,Project,ArriveDt,DepartureDt,OneWeek")] OneProjectOneWeek oneProjectOneWeek)
        {
            if (ModelState.IsValid)
            {
                _context.Add(oneProjectOneWeek);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(oneProjectOneWeek));
        }
        public async Task <IActionResult> Create([Bind("Id,Department,FirstName,FamilyName,Address,Dob,Gender,Position")] Personnel personnel)
        {
            if (ModelState.IsValid)
            {
                _context.Add(personnel);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(personnel));
        }