Exemplo n.º 1
0
 public AdminController(IEntitlementActionSvc entitlementActionSvc, IDropdownRepo ddlRepo, ISessionSvc sessionSvc)
 {
     _entitlementActionSvc = entitlementActionSvc;
     _ddlRepo    = ddlRepo;
     _uiddlRepo  = new Helpers.UIDropDownRepo(_ddlRepo);
     _sessionSvc = sessionSvc;
 }
        public ActionResult AddTransaction(Models.TransactionViewModel trViewModel)
        {
            trViewModel.TransactionDate    = DateTime.Parse(trViewModel.TransactionDateString);
            trViewModel.TransactionDueDate = DateTime.Parse(trViewModel.TransactionDueDateString);
            trViewModel.Active             = true;
            trViewModel.IsCompleted        = false;
            trViewModel.CreatedDate        = DateTime.Today.Date;
            trViewModel.DueAmount          = trViewModel.AmountImposed;
            _transactionLog.Insert(trViewModel);
            trViewModel = new Models.TransactionViewModel();
            ModelState.Clear();
            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);

            trViewModel.UserList              = uiDDLRepo.getUserDropDown();
            trViewModel.LocationList          = uiDDLRepo.getLocationDropDown();
            trViewModel.TransactionTypeList   = uiDDLRepo.getTransactionTypes();
            trViewModel.TransactionRuleList   = uiDDLRepo.getTransactionRules();
            trViewModel.StandardSectionList   = uiDDLRepo.getStandardSectionDropDown();
            trViewModel.TransactionMasterList = uiDDLRepo.getTransactionMasters();
            trViewModel.TransactionDate       = DateTime.Today;
            trViewModel.TransactionDateString = DateTime.Today.ToString("dd-MMM-yyyy");

            //Add user session when implemented

            return(View(trViewModel));
        }
        public ActionResult SearchRules(TransactionRuleVM tranRule)
        {
            string validMsg = string.Empty;

            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);
            tranRule.IsPostBack = "TRUE";
            if (ValidateSearch(tranRule, out validMsg))
            {
                //Need to change as it will also store the search result and the memory usage will be high
                TempData["RuleSearchCriteria"] = tranRule;

                tranRule.SearchedResult = new List <TransactionRuleVM>();

                this.AddSearchResult(ref tranRule);
                //tranRule.IsPostBack = "TRUE";
            }
            else
            {
                tranRule.ErrorMsg = validMsg;
            }

            tranRule.TransactionFrequencies = uiDDLRepo.getTransactionFrequencies();
            tranRule.Users              = uiDDLRepo.getUserDropDown();
            tranRule.Standards          = uiDDLRepo.getStandardDropDown();
            tranRule.Sections           = uiDDLRepo.getSectionDropDown();
            tranRule.ClassTypes         = uiDDLRepo.getClassTypeDropDown();
            tranRule.TransactionMasters = new SelectList(_ddlRepo.GetTransactionMasters(tranRule.SelectedFrequency), "TranMasterId", "TransactionName");

            return(View(tranRule));
        }
Exemplo n.º 4
0
        // GET: Transaction/TransactionMaster
        public ActionResult TransactionMaster()
        {
            Helpers.UIDropDownRepo uiDDLRepo  = new Helpers.UIDropDownRepo(_ddlRepo);
            TransactionMasterVM    trMasterVM = new TransactionMasterVM();

            trMasterVM.TransTypeList = uiDDLRepo.getTransactionTypes();
            trMasterVM.IsDiffToList  = uiDDLRepo.getTransactionIsDiffTo();
            trMasterVM.FrequencyList = uiDDLRepo.getTransactionFrequencies();
            trMasterVM.MODE          = "ADD";
            trMasterVM.Active        = true;
            StatusDTO <List <TransactionMasterDTO> > status = _trMaster.GetAllTransactioMasters();

            if (status.IsSuccess && status.ReturnObj != null && status.ReturnObj.Count > 0)
            {
                trMasterVM.SearchList = new List <TransactionMasterVM>();
                TransactionMasterVM trVM = null;
                foreach (TransactionMasterDTO trDto in status.ReturnObj)
                {
                    trVM                 = new TransactionMasterVM();
                    trVM.DayToRun        = trDto.DayToRun;
                    trVM.Frequency       = trDto.Frequency;
                    trVM.IsDiffTo        = trDto.IsDiffTo;
                    trVM.IsPenalty       = trDto.IsPenalty;
                    trVM.TranMasterId    = trDto.TranMasterId;
                    trVM.TransactionName = trDto.TransactionName;
                    trVM.TransactionType = trDto.TransactionType;
                    trVM.YearlyDayToRun  = trDto.YearlyDayToRun;
                    trVM.Active          = trDto.Active;
                    trMasterVM.SearchList.Add(trVM);
                }
            }

            return(View(trMasterVM));
        }
 public ExamMarksController(IExamMarksSvc examMarksSvc, IDropdownRepo dropDwnRepo, IConfigSvc configSvc)
 {
     _examMarksSvc = examMarksSvc;
     _dropDwnRepo  = dropDwnRepo;
     _configSvc    = configSvc;
     _uiddlRepo    = new Helpers.UIDropDownRepo(_dropDwnRepo);
 }
        public ActionResult SearchRules()
        {
            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);

            TransactionRuleVM tranRule = new TransactionRuleVM();

            tranRule.TransactionMasters = new SelectList(new List <TransactionMasterDTO>(), "TranMasterId", "TransactionName");

            tranRule.IsPostBack = "FALSE";

            if (TempData.Peek("RuleSearchCriteria") != null)
            {
                tranRule = (TransactionRuleVM)TempData.Peek("RuleSearchCriteria");
                this.AddSearchResult(ref tranRule);
                tranRule.TransactionMasters = new SelectList(_ddlRepo.GetTransactionMasters(tranRule.SelectedFrequency), "TranMasterId", "TransactionName");

                tranRule.IsPostBack = "TRUE";
            }
            else
            {
                tranRule.SearchedResult = new List <TransactionRuleVM>();
            }

            tranRule.TransactionFrequencies = uiDDLRepo.getTransactionFrequencies();
            tranRule.Users      = uiDDLRepo.getUserDropDown();
            tranRule.Standards  = uiDDLRepo.getStandardDropDown();
            tranRule.Sections   = uiDDLRepo.getSectionDropDown();
            tranRule.ClassTypes = uiDDLRepo.getClassTypeDropDown();



            tranRule.SuccessMsg = "";
            tranRule.ErrorMsg   = "";
            return(View(tranRule));
        }
        public ActionResult MyTransactions(Models.TransactionViewModel trVM)
        {
            SessionDTO session = _sessionSvc.GetUserSession();

            trVM.User = new UserMasterDTO();
            trVM.User.UserMasterId = session.UserMasterId;
            StatusDTO <List <TransactionLogDTO> > status = _transactionLog.Select(trVM);

            if (status.IsSuccess)
            {
                trVM.SearchResult = new List <Models.TransactionViewModel>();
                if (status.ReturnObj != null && status.ReturnObj.Count > 0)
                {
                    Models.TransactionViewModel trSR = null;
                    for (int i = 0; i < status.ReturnObj.Count; i++)
                    {
                        trSR = new Models.TransactionViewModel();

                        trSR.User                   = new UserMasterDTO();
                        trSR.User.FName             = status.ReturnObj[i].User.FName;
                        trSR.User.MName             = status.ReturnObj[i].User.MName;
                        trSR.User.LName             = status.ReturnObj[i].User.LName;
                        trSR.TransactionLogId       = status.ReturnObj[i].TransactionLogId;
                        trSR.TransactionDate        = status.ReturnObj[i].TransactionDate;
                        trSR.TransactionDueDate     = status.ReturnObj[i].TransactionDueDate;
                        trSR.ParentTransactionLogId = status.ReturnObj[i].ParentTransactionLogId;
                        trSR.IsCompleted            = status.ReturnObj[i].IsCompleted;
                        trSR.CompletedOn            = status.ReturnObj[i].CompletedOn;
                        trSR.AmountImposed          = status.ReturnObj[i].AmountImposed;
                        trSR.AmountGiven            = status.ReturnObj[i].AmountGiven;
                        trSR.DueAmount              = status.ReturnObj[i].DueAmount;
                        trSR.TransferMode           = status.ReturnObj[i].TransferMode;
                        trSR.Location               = status.ReturnObj[i].Location;
                        trSR.TransactionType        = status.ReturnObj[i].TransactionType;
                        trSR.HasPenalty             = status.ReturnObj[i].HasPenalty;
                        trSR.OriginalTransLog       = status.ReturnObj[i].OriginalTransLog;
                        trSR.TransactionRule        = status.ReturnObj[i].TransactionRule;

                        trVM.SearchResult.Add(trSR);
                    }
                }
                else
                {
                    trVM.Message = new MvcHtmlString("No related transaction record found.");
                }
            }
            else
            {
                trVM.SearchResult = null;
                trVM.Message      = new MvcHtmlString("Query returned with error.");
            }

            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);

            trVM.StandardSectionList = uiDDLRepo.getStandardSectionDropDown();
            trVM.TransactionTypeList = uiDDLRepo.getTransactionTypes();

            return(View(trVM));
        }
Exemplo n.º 8
0
        public LibraryController(IBookMasterSvc bookmasterSvc, IDropdownRepo ddlRepo, ISessionSvc sessionSvc)
        {
            _bookmasterSvc = bookmasterSvc;
            _ddlRepo       = ddlRepo;
            //new OpMgr.DataAccess.Implementations.DropdownRepo(new OpMgr.Configurations.Implementations.ConfigSvc());
            _uiddlRepo = new Helpers.UIDropDownRepo(_ddlRepo);
            //_logger = logger;

            _sessionSvc = sessionSvc;
        }
Exemplo n.º 9
0
 public StudentController(IStudentSvc studSvc, IDropdownRepo dropDwnRepo, IUserTransactionSvc userTrans, IConfigSvc configSvc, ISessionSvc sessionSvc)
 {
     _studSvc     = studSvc;
     _dropDwnRepo = dropDwnRepo;
     _uiddlRepo   = new Helpers.UIDropDownRepo(_dropDwnRepo);
     //_logSvc = logSvc;
     _userTrans  = userTrans;
     _configSvc  = configSvc;
     _sessionSvc = sessionSvc;
 }
        public ActionResult Search()
        {
            Models.TransactionViewModel trVM = new Models.TransactionViewModel();

            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);

            trVM.StandardSectionList = uiDDLRepo.getStandardSectionDropDown();
            trVM.TransactionTypeList = uiDDLRepo.getTransactionTypes();

            return(View(trVM));
        }
Exemplo n.º 11
0
 public LoginController(IUserSvc userSvc, IDropdownRepo ddlRepo, ISessionSvc sessionSvc, IResetPasswordSvc resetPassSvc, IMailSvc mail, IConfigSvc configSvc)
 {
     _userSvc = userSvc;
     _ddlRepo = ddlRepo;
     //new OpMgr.DataAccess.Implementations.DropdownRepo(new OpMgr.Configurations.Implementations.ConfigSvc());
     _uiddlRepo = new Helpers.UIDropDownRepo(_ddlRepo);
     //_logger = logger;
     _configSvc    = configSvc;
     _sessionSvc   = sessionSvc;
     _resetPassSvc = resetPassSvc;
     _mail         = mail;//dependency injected for sending mails
 }
        public ActionResult TransactionRule(TransactionRuleVM trRuleVM)
        {
            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);
            string message = string.Empty;
            string diffTo  = string.Empty;

            if (Validate(trRuleVM, out message, out diffTo))
            {
                //string diffTo = _trnsMaster.GetIsDifferentTo(trRuleVM.TranMaster.TranMasterId);

                if (!_trRule.IsDuplicate(trRuleVM.TranMaster.TranMasterId, trRuleVM.Standard == null?-1: trRuleVM.Standard.StandardId, trRuleVM.Section == null?-1: trRuleVM.Section.SectionId, trRuleVM.ClassType == null?-1: trRuleVM.ClassType.ClassTypeId, trRuleVM.UserDTO == null?-1: trRuleVM.UserDTO.UserMasterId, diffTo, trRuleVM.MODE, trRuleVM.TranRuleId))
                {
                    if (string.Equals(trRuleVM.MODE, "EDIT"))
                    {
                        _trRule.Update(trRuleVM);
                        return(RedirectToAction("SearchRules"));
                    }
                    _trRule.Insert(trRuleVM);
                    ModelState.Clear();

                    trRuleVM.MODE   = "ADD";
                    trRuleVM.Active = true;

                    trRuleVM.SuccessMsg = "Rule added successfully.";
                    trRuleVM.ErrorMsg   = string.Empty;
                }
                else
                {
                    trRuleVM.ErrorMsg   = "Rule is not unique for this transaction name.";
                    trRuleVM.SuccessMsg = string.Empty;
                }
            }
            else
            {
                trRuleVM.ErrorMsg   = message;
                trRuleVM.SuccessMsg = string.Empty;
            }
            trRuleVM.TransactionFrequencies = uiDDLRepo.getTransactionFrequencies();
            trRuleVM.Users                   = uiDDLRepo.getUserDropDown();
            trRuleVM.Standards               = uiDDLRepo.getStandardDropDown();
            trRuleVM.Sections                = uiDDLRepo.getSectionDropDown();
            trRuleVM.PenaltyCalcIn           = uiDDLRepo.getCalcType();
            trRuleVM.ClassTypes              = uiDDLRepo.getClassTypeDropDown();
            trRuleVM.PenaltyTransactionTypes = uiDDLRepo.getTransactionTypes();
            trRuleVM.TransactionMasters      = uiDDLRepo.getTransactionMasters();
            trRuleVM.PenaltyTransactionRules = uiDDLRepo.getTransactionRules();
            trRuleVM.IsPostBack              = "TRUE";


            return(RedirectToAction("SearchRules"));
        }
 public ActionResult AddTransaction()
 {
     Helpers.UIDropDownRepo      uiDDLRepo   = new Helpers.UIDropDownRepo(_ddlRepo);
     Models.TransactionViewModel trViewModel = new Models.TransactionViewModel();
     trViewModel.UserList              = uiDDLRepo.getUserDropDown();
     trViewModel.LocationList          = uiDDLRepo.getLocationDropDown();
     trViewModel.TransactionTypeList   = uiDDLRepo.getTransactionTypes();
     trViewModel.TransactionRuleList   = uiDDLRepo.getTransactionRules();
     trViewModel.StandardSectionList   = uiDDLRepo.getStandardSectionDropDown();
     trViewModel.TransactionMasterList = uiDDLRepo.getTransactionMasters();
     trViewModel.TransactionDate       = DateTime.Today;
     trViewModel.TransactionDateString = DateTime.Today.ToString("dd-MMM-yyyy");
     return(View(trViewModel));
 }
Exemplo n.º 14
0
        public ActionResult GetPayment(PaymentVM paymentvm)
        {
            PaymentVM  paymentview = null;
            StudentDTO student     = null;


            if (paymentvm != null)
            {
                if (!String.IsNullOrEmpty(paymentvm.RegistrationNumber))
                {
                    student = new StudentDTO();
                    student.RegistrationNumber = paymentvm.RegistrationNumber;
                }
                if (!String.IsNullOrEmpty(paymentvm.StaffEmployeeId))
                {
                    student                      = new StudentDTO();
                    student.UserDetails          = new UserMasterDTO();
                    student.UserDetails.Employee = new EmployeeDetailsDTO();
                    student.UserDetails.Employee.StaffEmployeeId = paymentvm.StaffEmployeeId;
                }
                StatusDTO <List <TransactionLogDTO> > status = _transactionLogSvc.SelectPayment(student);
                if (status.ReturnObj != null && status.ReturnObj.Count > 0)
                {
                    paymentview = new PaymentVM();                           // Instantiating Payment View model
                    paymentview.paymentDetailsList = new List <PaymentVM>(); // instantiating list of Payment

                    if (status.IsSuccess && !status.IsException)
                    {
                        PaymentVM searchItem = null;
                        foreach (TransactionLogDTO tranlog in status.ReturnObj)
                        {
                            if (tranlog != null)
                            {
                                searchItem = new PaymentVM();
                                searchItem.TransactionLogId    = tranlog.TransactionLogId;
                                searchItem.HdnTransactionLogId = tranlog.TransactionLogId;
                                searchItem.User       = tranlog.User;
                                searchItem.User.FName = tranlog.User.FName;
                                searchItem.User.LName = tranlog.User.LName;
                                if (!String.IsNullOrEmpty(tranlog.User.LName))
                                {
                                    searchItem.Name = searchItem.User.FName + " " + searchItem.User.LName;
                                }
                                searchItem.TransactionDate            = tranlog.TransactionDate;
                                searchItem.TransactionDueDate         = tranlog.TransactionDueDate;
                                searchItem.TransactionPreviousDueDate = tranlog.TransactionPreviousDueDate;
                                if (tranlog.ParentTransactionLogId != null)
                                {
                                    if (tranlog.ParentTransactionLogId.TransactionLogId > 0)
                                    {
                                        searchItem.ParentTransactionLogId = new TransactionLogDTO();
                                        searchItem.ParentTransactionLogId.TransactionLogId = tranlog.ParentTransactionLogId.TransactionLogId;
                                    }
                                }
                                searchItem.IsCompleted         = tranlog.IsCompleted;
                                searchItem.CompletedOn         = tranlog.CompletedOn;
                                searchItem.AmountImposed       = tranlog.AmountImposed;
                                searchItem.AmountGiven         = tranlog.AmountGiven;
                                searchItem.DueAmount           = tranlog.DueAmount;
                                searchItem.HasPenalty          = tranlog.HasPenalty;
                                searchItem.AdjustedAmount      = tranlog.AdjustedAmount;
                                searchItem.IsPrincipalApproved = tranlog.IsPrincipalApproved;
                                if (searchItem.IsPrincipalApproved == 0)
                                {
                                    searchItem.PrincipalApproved = "Pending";
                                }
                                else if (searchItem.IsPrincipalApproved == 1)
                                {
                                    searchItem.PrincipalApproved = "Approved";
                                }
                                else if (searchItem.IsPrincipalApproved == 2)
                                {
                                    searchItem.PrincipalApproved = "Rejected";
                                }
                                else
                                {
                                    searchItem.PrincipalApproved = String.Empty;
                                }
                                if (tranlog.OriginalTransLog != null)
                                {
                                    if (tranlog.OriginalTransLog.TransactionLogId > 0)
                                    {
                                        searchItem.OriginalTransLog = new TransactionLogDTO();
                                        searchItem.OriginalTransLog.TransactionLogId = tranlog.OriginalTransLog.TransactionLogId;
                                    }
                                }
                                searchItem.TransactionRule            = new TransactionRuleDTO();
                                searchItem.TransactionRule.TranMaster = new TransactionMasterDTO();
                                searchItem.TransactionRule.TranMaster.TransactionName = tranlog.TransactionRule.TranMaster.TransactionName;

                                searchItem.TransferMode = "-1";

                                paymentview.paymentDetailsList.Add(searchItem);
                                paymentview.IsSearchSuccessful = true;
                            }
                        }
                    }
                    Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);
                    paymentview.PaymentModeList = uiDDLRepo.getTransferModeDropdown();
                }
                else
                {
                    paymentview = paymentvm;
                    paymentvm.IsSearchSuccessful = false;
                }
            }
            paymentview.TransferMode = "-1";
            return(View(paymentview));
        }
        public ActionResult TransactionRule(string mode, int?id)
        {
            Helpers.UIDropDownRepo uiDDLRepo = new Helpers.UIDropDownRepo(_ddlRepo);
            TransactionRuleVM      trRuleVM  = new TransactionRuleVM();

            trRuleVM.IsPostBack = "FALSE";
            if (string.Equals(mode, "EDIT", StringComparison.OrdinalIgnoreCase))
            {
                StatusDTO <TransactionRuleDTO> trRule = _trRule.Select(id.Value);
                if (trRule != null)
                {
                    trRuleVM.Active                 = trRule.ReturnObj.Active;
                    trRuleVM.ActualAmount           = trRule.ReturnObj.ActualAmount;
                    trRuleVM.ClassType              = trRule.ReturnObj.ClassType;
                    trRuleVM.DueDateIncreasesBy     = trRule.ReturnObj.DueDateIncreasesBy;
                    trRuleVM.FirstDueAfterDays      = trRule.ReturnObj.FirstDueAfterDays;
                    trRuleVM.IsdifferentTo          = trRule.ReturnObj.IsdifferentTo;
                    trRuleVM.PenaltyAmount          = trRule.ReturnObj.PenaltyAmount;
                    trRuleVM.PenaltyCalculatedIn    = trRule.ReturnObj.PenaltyCalculatedIn;
                    trRuleVM.PenaltyTransactionRule = trRule.ReturnObj.PenaltyTransactionRule;
                    trRuleVM.PenaltyTransactionType = trRule.ReturnObj.PenaltyTransactionType;
                    trRuleVM.RuleName               = trRule.ReturnObj.RuleName;
                    trRuleVM.Section                = trRule.ReturnObj.Section;
                    trRuleVM.Standard               = trRule.ReturnObj.Standard;
                    trRuleVM.TranMaster             = trRule.ReturnObj.TranMaster;
                    trRuleVM.TranRuleId             = trRule.ReturnObj.TranRuleId;
                    trRuleVM.UserDTO                = trRule.ReturnObj.UserDTO;

                    trRuleVM.MODE = "EDIT";

                    if (trRuleVM.TranMaster != null)
                    {
                        trRuleVM.SelectedFrequency = _trnsMaster.GetFreq(trRuleVM.TranMaster.TranMasterId);
                    }

                    trRuleVM.TransactionMasters = uiDDLRepo.getTransactionMasters(trRuleVM.SelectedFrequency);
                }
                else
                {
                    trRuleVM.TransactionMasters = new SelectList(new List <TransactionMasterDTO>(), "TranMasterId", "TransactionName");

                    if (TempData.Peek("RuleSearchCriteria") != null)
                    {
                        trRuleVM = (TransactionRuleVM)TempData.Peek("RuleSearchCriteria");
                        trRuleVM.TransactionMasters = new SelectList(_ddlRepo.GetTransactionMasters(trRuleVM.SelectedFrequency), "TranMasterId", "TransactionName");
                        trRuleVM.IsPostBack         = "TRUE";
                    }

                    trRuleVM.MODE   = "ADD";
                    trRuleVM.Active = true;
                }
            }
            else
            {
                trRuleVM.TransactionMasters = new SelectList(new List <TransactionMasterDTO>(), "TranMasterId", "TransactionName");

                if (TempData.Peek("RuleSearchCriteria") != null)
                {
                    trRuleVM = (TransactionRuleVM)TempData.Peek("RuleSearchCriteria");
                    trRuleVM.TransactionMasters = new SelectList(_ddlRepo.GetTransactionMasters(trRuleVM.SelectedFrequency), "TranMasterId", "TransactionName");
                    trRuleVM.IsPostBack         = "TRUE";
                }

                trRuleVM.MODE   = "ADD";
                trRuleVM.Active = true;
            }
            trRuleVM.TransactionFrequencies = uiDDLRepo.getTransactionFrequencies();
            trRuleVM.Users                   = uiDDLRepo.getUserDropDown();
            trRuleVM.Standards               = uiDDLRepo.getStandardDropDown();
            trRuleVM.Sections                = uiDDLRepo.getSectionDropDown();
            trRuleVM.PenaltyCalcIn           = uiDDLRepo.getCalcType();
            trRuleVM.ClassTypes              = uiDDLRepo.getClassTypeDropDown();
            trRuleVM.PenaltyTransactionTypes = uiDDLRepo.getTransactionTypes();

            trRuleVM.PenaltyTransactionRules = uiDDLRepo.getTransactionRules();
            trRuleVM.ErrorMsg   = string.Empty;
            trRuleVM.SuccessMsg = string.Empty;

            return(View(trRuleVM));
        }
Exemplo n.º 16
0
 public UserController(IUserSvc userSvc, IDropdownRepo dropDownRepo)
 {
     _userSvc      = userSvc;
     _dropDownRepo = dropDownRepo;
     _uiddlRepo    = new Helpers.UIDropDownRepo(_dropDownRepo);
 }