// GET: UserRole
        public ActionResult UserRole()
        {
            var userID = @System.Web.HttpContext.Current.User.Identity.Name.Replace("SPRINGER-SBM\\", "");

            if (_UserRoleRepository.IsAdmin(userID.Trim()))
            {
                userRoleVM.Role         = _UserRoleRepository.GetRoleByUserID(userID);
                userRoleVM.userRoles    = _UserRoleRepository.GetUserRoleDetails();
                userRoleVM.EmployeeName = _manuscriptDBRepositoryReadSide.EmployeeName(userID);
                return(View(userRoleVM));
            }
            else
            {
                return(File("~/Views/Shared/Unauthorised.htm", "text/html"));
            }
        }
        public ActionResult ManuscriptLogin(int?id)
        {
            var manuscriptLoginVm = new ManuscriptLoginVM();
            var userId            = @System.Web.HttpContext.Current.User.Identity.Name.Replace("SPRINGER-SBM\\", "");

            manuscriptLoginVm._journal = _manuscriptDBRepositoryReadSide.GetJournalList();
            var crestId = Convert.ToInt32(id);

            if (id != null && id != 0)
            {
                ManuscriptLoginVmDetails(manuscriptLoginVm, crestId);
            }
            manuscriptLoginVm._articleType          = _manuscriptDBRepositoryReadSide.GetArticleList(Convert.ToInt32(manuscriptLoginVm.JournalID));
            manuscriptLoginVm._section              = _manuscriptDBRepositoryReadSide.GetSectionList(Convert.ToInt32(manuscriptLoginVm.JournalID));
            manuscriptLoginVm._TaskList             = _manuscriptDBRepositoryReadSide.GetTaskType();
            manuscriptLoginVm._serviceType          = _manuscriptDBRepositoryReadSide.GetServiceType();
            manuscriptLoginVm.EmployeeName          = _manuscriptDBRepositoryReadSide.EmployeeName(userId);
            manuscriptLoginVm.manuscriptLoginedJobs = ManuscriptLoginDbRepositoryReadSide.GetManuscriptLoginJobs();
            return(View(manuscriptLoginVm));
        }