Example #1
0
 private void GetMSIDValues(AdminDasboardVM adminDasboardVM)
 {
     adminDashBoardDTO.CrestId             = adminDasboardVM.CrestIdVM;
     adminDashBoardDTO.ServiceType         = adminDasboardVM.ServiceTypeVM;
     adminDashBoardDTO.JobProcessingStatus = adminDasboardVM.JobProcessingStatusVM;
     adminDashBoardDTO.Role = adminDasboardVM.RoleVM;
 }
        public AdminDashboardController()
        {
            string conString = string.Empty;

            conString                       = Convert.ToString(ConfigurationManager.AppSettings["dbTransferDeskService"]);
            adminDasboardVM                 = new AdminDasboardVM();
            adminDashBoardService           = new AdminDashBoardService(conString);
            _adminDashBoardReposistory      = new AdminDashBoardReposistory(conString);
            _manuscriptDBRepositoryReadSide = new ManuscriptDBRepositoryReadSide(conString);
        }
        public bool AdminHoldMSID(string AssociateNameVM, int CrestIdVM, string ServiceTypeVM, string JobProcessingStatusVM, string RoleVM)
        {
            var adminDash = new AdminDasboardVM();

            adminDash.CrestIdVM             = CrestIdVM;
            adminDash.AssociateNameVM       = AssociateNameVM;
            adminDash.ServiceTypeVM         = ServiceTypeVM;
            adminDash.JobProcessingStatusVM = JobProcessingStatusVM;
            adminDash.RoleVM = RoleVM;
            return(adminDashBoardService.HoldMSID(adminDash));
        }
        public bool AdminActionResult(string AssociateNameVM, int CrestIdVM, string ServiceTypeVM, string JobProcessingStatusVM, string RoleVM)
        {
            var adminDash = new AdminDasboardVM();

            adminDash.AssociateNameVM       = AssociateNameVM;
            adminDash.CrestIdVM             = CrestIdVM;
            adminDash.ServiceTypeVM         = ServiceTypeVM;
            adminDash.JobProcessingStatusVM = JobProcessingStatusVM;
            adminDash.RoleVM = RoleVM;
            return(adminDashBoardService.AllocateMSIDToUser(adminDash));
        }
Example #5
0
 public bool HoldMSID(AdminDasboardVM adminDasboardVM)
 {
     GetMSIDValues(adminDasboardVM);
     return(adminDashBoardBL.updateManuscriptLoginDeatilsForHold(adminDashBoardDTO));
 }
Example #6
0
 public bool UnallocateMSIDFromUser(AdminDasboardVM adminDasboardVM)
 {
     GetMSIDValues(adminDasboardVM);
     return(adminDashBoardBL.updateManuscriptLoginDeatils(adminDashBoardDTO));
 }
Example #7
0
 public bool AllocateMSIDToUser(AdminDasboardVM adminDasboardVM)
 {
     GetMSIDValues(adminDasboardVM);
     adminDashBoardDTO.AssociateName = adminDasboardVM.AssociateNameVM;
     return(adminDashBoardBL.SaveManuscriptLoginDeatils(adminDashBoardDTO));
 }