public IHttpActionResult GetPropertiesByDataSet([FromUri] UprdDataSet dataset) { var list = WatchlistService.GetPropertiesByDataSet(dataset); return(Json(list)); }
public IHttpActionResult GetTotalCountLocationsFromUPRD([FromUri] string PipelineDuns, [FromUri] UprdDataSet datasetType, [FromUri] string Keyword) { var list = WatchlistService.GetTotalLocationsFromUPRDs(PipelineDuns, Keyword); return(Json(list)); }
public IQueryable <WatchListMailAlertUPRDMapping> GetDataForUPRDMapping(string UserId, int watchListId, UprdDataSet dataSet) { return(DbContext.WatchListMailAlertUPRDMappings.Where(a => a.UserId == UserId && a.WatchListId == watchListId && a.DataSetId == (int)dataSet )); }
public IHttpActionResult GetLocationsFromUPRDsUsingPaging([FromUri] string PipelineDuns, [FromUri] UprdDataSet datasetType, [FromUri] string Keyword, [FromUri] int PageNo, [FromUri] int PageSize, [FromUri] string order, [FromUri] string orderDir) { var list = WatchlistService.GetLocationsFromUPRDsUsingPaging(PipelineDuns, Keyword, PageNo, PageSize, order, orderDir); return(Json(list)); }
public IQueryable <Watchlist> GetAllBydataSet(UprdDataSet dataset) { return(DbContext.Watchlists.Where(a => (int)dataset == a.DataSetId)); }