public ActionResult Create(EmployeeModel employeeModel)
        {
            if (!ModelState.IsValid)
            {
                return View(employeeModel);
            }

            try
            {
                var employee = _mapper.Map<Employee>(employeeModel);

                _employeeService.Create(employee);

                return RedirectToAction("Index");
            }
            catch
            {
                ModelState.AddModelError(String.Empty, "Some error has occured during save the employee");
                return View(employeeModel);
            }
        }
        public ActionResult Index()
        {
            var model = new EmployeeModel();

            return View(model);
        }
        public ActionResult Create()
        {
            var model = new EmployeeModel();

            return View(model);
        }
        public ActionResult Edit(EmployeeModel employeeModel)
        {
            if (!ModelState.IsValid)
            {
                return View(employeeModel);
            }

            try
            {
                var employee = _employeeService.FindById(employeeModel.Id);

                if (employee == null)
                {
                    ModelState.AddModelError(String.Empty, $"Employee with id {employeeModel.Id} was not found");
                }

                employee.FirstName = employeeModel.FirstName;
                employee.Position = employeeModel.Position;
                employee.Wage = employeeModel.Wage;
                employee.Status = employeeModel.Status;
                
                _employeeService.Update(employee);

                return RedirectToAction("Index");
            }
            catch
            {
                ModelState.AddModelError(String.Empty, "Some error has occured during save the employee");
                return View(employeeModel);
            }
        }