//Account creation for employee,admin,manager public ActionResult Account(EmployeeModel employeeModel) { Account account = new Account(); account.EmployeeId = employeeBL.SetEmployeeId(employeeModel.EmployeeEmail); account.UserName = employeeModel.EmployeeEmail; account.Password = employeeBL.Password(employeeModel.EmployeeName, Convert.ToString(employeeModel.EmployeePhoneNumber)); account.Role = employeeBL.Role(employeeModel.DesignationId); employeeBL.AddAccount(account); return(View()); }