Esempio n. 1
0
        //public void FillEmployee()
        //{
        //    var List = JobCardQCRepo.FillEmployee();
        //    ViewBag.EmployeeList = new SelectList(List, "Id", "Name");
        //}
        public void JobCardDropdown(int isProjectBased, int jobCardId = 0)
        {
            DropdownRepository repo = new DropdownRepository();
            var List = repo.JobCardDropdownforAddtional(jobCardId: jobCardId, organizationId: OrganizationId, isProjectBased: isProjectBased);

            ViewBag.JobCardList = new SelectList(List, "Id", "Name");
        }