public MasterController() { this._masters = new MasterRepository(); this.clsResponse = (ClsResponseModel <List <ClsCategoryMasterModel> >) this._masters.Get_Category(); ViewBag.Category = clsResponse.Data.Select(x => new SelectListItem { Text = x.CategoryName, Value = Convert.ToString(x.CategoryId) } ).ToList(); }
public CustomerController() { this._user = new UserRepository(); this._product = new ProductRepository(); this._masters = new MasterRepository(); this.clsResponse = (ClsResponseModel <List <ClsCategoryMasterModel> >) this._masters.Get_Category(); ViewBag.Category = clsResponse.Data.Select(x => new SelectListItem { Text = x.CategoryName, Value = Convert.ToString(x.CategoryId) } ).ToList(); ViewBag.ProductDetail = this._product.GetAllProduct(Convert.ToInt32(System.Web.HttpContext.Current.Session["businessId"])); ClsResponseModel <List <ClsCustomerModel> > customerRes = (ClsResponseModel <List <ClsCustomerModel> >) this._user.GetCustomerDetails(); ViewBag.Customer = customerRes.Data.Select(y => new SelectListItem { Text = y.Name, Value = y.UserId }).ToList(); }
public RequisitionStaffingController(IRequisitionStaffing requisition, IMasters masters) { _requisitionstaffing = requisition; _imasters = masters; }
public CommonMastersController(IMasters masters) { _masters = masters; }
public ApplicantController(IRequisition requisition, IApplicant applicant, IMasters masters) { _requisition = requisition; _applicant = applicant; _imasters = masters; }
public MastersController(IMasters masters) { _imasters = masters; }
public RequisitionController(IRequisition requisition, IMasters masters) { _requisition = requisition; _imasters = masters; }
public ApplicantStaffingController(IRequisitionStaffing requisition, IApplicantStaffing applicant, IMasters masters) { _requisitionstaffing = requisition; _applicantstaffing = applicant; _imasters = masters; }