private async Task <IAdvertisementSearchViewModel> PoulateDropDownListAsync(IAdvertisementSearchViewModel model, CancellationToken cancellationToken) { if (model == null) { model = new AdvertisementSearchViewModel(); } DropDownListDAL _ddlDal = new DropDownListDAL(); // model.DDLSearch = await _ddlDal.GetAdvertisementSearchListAsync(userId, cancellationToken, true); return(model); }
private async Task <IEmailServerSearchViewModel> PoulateDropDownListAsync(IEmailServerSearchViewModel model, CancellationToken cancellationToken) { if (model == null) { model = new EmailServerSearchViewModel(); } DropDownListDAL _ddlDal = new DropDownListDAL(); model.DDLSearch = await _ddlDal.GetEmailServerSearchListAsync(userId, cancellationToken, true); return(model); }
public override void OnResultExecuting(ResultExecutingContext filterContext) { DropDownListDAL _ddlDAL = new DropDownListDAL(); if (filterContext.HttpContext.Session[Sessions.DDLPageSize] == null) { var pageSizeDDL = _ddlDAL.GetPageSizeList(); if (pageSizeDDL != null) { filterContext.HttpContext.Session[Sessions.DDLPageSize] = pageSizeDDL; } } }
private async Task <IUserSearchViewModel> PoulateDropDownListAsync(IUserSearchViewModel model, CancellationToken cancellationToken) { if (model == null) { model = new UserSearchViewModel(); } DropDownListDAL _ddlDal = new DropDownListDAL(); model.DDLLocation = await _ddlDal.GetLocationListAsync(userId, -1, cancellationToken); model.DDLCountry = await _ddlDal.GetCountryListAsync(userId, cancellationToken); model.DDLSearch = await _ddlDal.GetUserSearchListAsync(userId, cancellationToken); model.DDLCountry[0].Identifier = "ddlCountry"; model.DDLLocation[0].Identifier = "ddlLocation"; return(model); }
private async Task <IWebApiUserSearchViewModel> PoulateDropDownListAsync(IWebApiUserSearchViewModel model, CancellationToken cancellationToken) { if (model == null) { model = new WebApiUserSearchViewModel(); } DropDownListDAL _ddlDal = new DropDownListDAL(); model.DDLOrganization = await _ddlDal.GetOrganizationListAsync(userId, -1, cancellationToken); model.DDLSystem = await _ddlDal.GetSystemListAsync(userId, cancellationToken); model.DDLSearch = await _ddlDal.GetWebApiUserSearchListAsync(userId, cancellationToken); model.DDLSystem[0].Identifier = "ddlSystem"; model.DDLOrganization[0].Identifier = "ddlOrganization"; return(model); }
public AdvertisementSearchService() { _dal = new AdvertisementDAL(); _ddlDal = new DropDownListDAL(); }
public EmailServerSearchService() { _dal = new EmailServerDAL(); _ddlDal = new DropDownListDAL(); }
public ThemeSearchService() { _dal = new ThemeDAL(); _ddlDal = new DropDownListDAL(); }
public ObjectService() { _dal = new ObjectDAL(); _ddlDal = new DropDownListDAL(); }
public SecurityQuestionService() { _dal = new SecurityQuestionDAL(); _ddlDal = new DropDownListDAL(); }
public CategorySearchService() { _dal = new CategoryDAL(); _ddlDal = new DropDownListDAL(); }
public WebApiObjectService() { _dal = new WebApiObjectDAL(); _ddlDal = new DropDownListDAL(); }
public UserService() { _dal = new TempUserDAL(); _ddlDAL = new DropDownListDAL(); }
private async Task PoulateDropDownListAsync(ILocationModel model, CancellationToken cancellationToken) { _ddlDal = new DropDownListDAL(); model.CountryList = await _ddlDal.GetCountryListAsync(userId, cancellationToken, true); }
public CountrySearchService() { _dal = new CountryDAL(); _ddlDal = new DropDownListDAL(); }
public LocationSearchService() { _dal = new LocationDAL(); _ddlDal = new DropDownListDAL(); }
public WebApiUserService() { _dal = new WebApiUserDAL(); _ddlDAL = new DropDownListDAL(); }
public RoleSearchService() { _dal = new RoleDAL(); _ddlDal = new DropDownListDAL(); }
public SecurityInfoService() { _dal = new SecurityInfoDAL(); _ddlDAL = new DropDownListDAL(); }
public DropdownService() { _ddlDAL = new DropDownListDAL(); }
public MainService() { _ddlDAL = new DropDownListDAL(); }
public HirePlanaService() { _ddlDAL = new DropDownListDAL(); }
//public abstract T Index(HttpContext context); public async Task <string> SelectCurrentDateTimeLocalizedAsync(System.Web.HttpContext context, long userId, CancellationToken cancellationToken) { DropDownListDAL _dal = new DropDownListDAL(); return(await _dal.SelectCurrentDateTimeLocalizedAsync(userId, cancellationToken)); }
public WebAPIRoleObjectService() { _dal = new WebAPIRoleObjectDAL(); _ddlDAL = new DropDownListDAL(); }
private async Task PoulateDropDownListAsync(ICountryModel model, CancellationToken cancellationToken) { _ddlDal = new DropDownListDAL(); }
public AdvertisementService() { _ddlDAL = new DropDownListDAL(); }