public ActionResult Edit(int?id)
        {
            EmployeeLoginMappingModel model = new EmployeeLoginMappingModel();

            try
            {
                GetRolesList();

                if (!id.HasValue)
                {
                    DisplayWarningMessage("Looks like, the employee ID is missing in your request");
                    return(View(model));
                }

                if (!userService.Exists(id.Value))
                {
                    DisplayWarningMessage($"We are unable to retrieve the details for the give ID: {id}");
                    return(View(model));
                }

                EmployeeLoginMappingDto loginDto = userService.GetByID(id.Value);
                model = Mapper.Map <EmployeeLoginMappingDto, EmployeeLoginMappingModel>(loginDto);
            }
            catch (Exception exp)
            {
                DisplayLoadErrorMessage(exp);
            }
            return(View(model));
        }