public async Task <LoadResult> Get(DataSourceLoadOptions loadOptions)
 {
     return(await DataSourceLoader.LoadAsync(_cityService.GetCities(), loadOptions));
 }
 public HttpResponseMessage Get(DataSourceLoadOptions loadOptions)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(GenerateData(50, 500), loadOptions)));
 }
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(SampleData.Customers, loadOptions));
 }
        public IActionResult Get_m_Processmaster(DataSourceLoadOptions loadOptions)
        {
            var pm = _context.m_ProcessMaster.Where(w => w.SysemProcessFLag == "Y");

            return(Json(DataSourceLoader.Load(pm, loadOptions)));
        }
Example #5
0
 public object GetProductsBySupplier(int supplierID, DataSourceLoadOptions options)
 {
     return(DataSourceLoader.Load(_nwinds.Products.Where(p => p.SupplierID == supplierID), options));
 }
Example #6
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(RasporediData.Rasporedi, loadOptions));
 }
        public IActionResult Get(DataSourceLoadOptions loadOptions)
        {
            var pdr = _context.VW_MFC_ProductionDailyReport1;

            return(Json(DataSourceLoader.Load(pdr, loadOptions)));
        }
 public object GetTopicDropdown(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(_db.Topics, loadOptions));
 }
 public object GetExam(DataSourceLoadOptions loadOptions, Guid id)
 {
     return(DataSourceLoader.Load(_db.QuestionExams.Where(m => m.ExamId == id), loadOptions));
 }
 //public IEnumerable<Order> GetOrders()
 //{
 //    return _context.Orders;
 //}
 public object Orders(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(_context.Orders, loadOptions));
 }
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(_db.Questions, loadOptions));
 }
Example #12
0
        public object Get(int customerId, DataSourceLoadOptions loadOptions)
        {
            var query = unitOfWork.Query <Order>().Where(t => t.Customer.Oid == customerId);

            return(DataSourceLoader.Load(query, loadOptions));
        }
 public HttpResponseMessage Gets(DataSourceLoadOptions loadOptions)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(_ReferenceTypeBLL.GetReferenceTypes(), loadOptions)));
 }
Example #14
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(SampleData.DataGridEmployees.Where(e => e.ID <= 9), loadOptions));
 }
Example #15
0
        public async Task <object> Get(DataSourceLoadOptions loadOptions)
        {
            var data = await _dataLoader.GetDataFromApiAsync();

            return(Ok(DataSourceLoader.Load(data, loadOptions)));
        }
Example #16
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(SampleData.DataGridEmployeesByState, loadOptions));
 }
Example #17
0
 public LoadResult GetList(DevxLoadOptions options)
 => DataSourceLoader.Load(_services.GetJournal(), options);
Example #18
0
        public object menuList(DataSourceLoadOptions loadOptions)
        {
            var data = DataSourceLoader.Load(this.rbacContext.Menus, loadOptions);

            return(data);
        }
Example #19
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(SampleData.CitiesByState, loadOptions));
 }
        public async Task <object> LoadAll(DataSourceLoadOptionsBinder.DataSourceLoadOptions loadOptions)
        {
            var responseData = await _studentRecordService.GetAllAsync();

            return(DataSourceLoader.Load(responseData.Data, loadOptions));
        }
        public IActionResult Get_m_MachineMaster(DataSourceLoadOptions loadOptions)
        {
            var mm = _context.m_MachineMaster;

            return(Json(DataSourceLoader.Load(mm, loadOptions)));
        }
 public HttpResponseMessage Gets(DataSourceLoadOptions loadOptions, int?councilTypeId)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(_mainCategoryBLL.GetMainCategories(councilTypeId), loadOptions)));
 }
Example #23
0
 public object GetSuppliers(DataSourceLoadOptions options)
 {
     return(DataSourceLoader.Load(_nwinds.Suppliers, options));
 }
Example #24
0
 public HttpResponseMessage Get(DataSourceLoadOptions loadOptions)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(SampleData.Customers, loadOptions)));
 }
Example #25
0
 public HttpResponseMessage Get(DataSourceLoadOptions loadOptions)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(db.Employees, loadOptions)));
 }
Example #26
0
 public HttpResponseMessage Gets(DataSourceLoadOptions loadOptions)
 {
     return(Request.CreateResponse(DataSourceLoader.Load(_CompanyBLL.GetCompanies(), loadOptions)));
 }
Example #27
0
 public LoadResult GetDevextremeList(DevxLoadOptions options)
 => DataSourceLoader.Load(_context.Journals, options);
Example #28
0
        public object Get(DataSourceLoadOptions loadOptions)
        {
            var query = unitOfWork.Query <Customer>();

            return(DataSourceLoader.Load(query, loadOptions));
        }
Example #29
0
 public object Get(DataSourceLoadOptions loadOptions)
 {
     return(DataSourceLoader.Load(db.Employees, loadOptions));
 }
Example #30
0
 public ActionResult GetCompanies(DataSourceLoadOptions loadOptions)
 {
     return(Content(JsonConvert.SerializeObject(DataSourceLoader.Load(TabPanelData.Companies, loadOptions)), "application/json"));
 }