public ActionResult DeleteEmployee(DeleteEmployeeViewModel devm)
        {
            var employee = db.Employees
                .Where(e => e.Id == devm.EmployeeId)
                .Include(e => e.User)
                .FirstOrDefault();
            var user = employee.User;

            db.Employees.Remove(employee);
            db.Users.Remove(user);
            db.SaveChanges();

            return RedirectToAction("ManageEmployees", "Branch");
        }
        public ActionResult DeleteEmployee(int id)
        {
            var employee = db.Employees
                .Where(e => e.Id == id)
                .Include(e => e.User)
                .FirstOrDefault();

            DeleteEmployeeViewModel devm = new DeleteEmployeeViewModel()
            {
                EmployeeId = employee.Id,
                FirstName = employee.User.FirstName,
                LastName = employee.User.LastName
            };

            return View(devm);
        }