Пример #1
0
        public async Task <AjaxModel <List <TasksModel> > > TasksGet()
        {
            var pagination = Request.Headers["Pagination"];


            return(await AjaxHelper.GetAsync(m => this.masterRepository.TasksGet(pagination)));
        }
Пример #2
0
 public async Task <AjaxModel <List <YardModel> > > GroupYardsGet()
 {
     return(await AjaxHelper.GetAsync(async (m) =>
     {
         AccountDomain accountDomain = this.HttpContext.RequestServices.GetRequiredService <AccountDomain>();
         var companies = await accountDomain.GetGroupCompanyIds();
         return await this.domain.YardsGet(companies);
     }));
 }
Пример #3
0
 public async Task <AjaxModel <List <VehicleTypeModel> > > VehicleTypeListGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleTypeListGet()));
 }
Пример #4
0
 public async Task <AjaxModel <List <TagsMasterModel> > > TagsMasterGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.TagsMasterGet()));
 }
Пример #5
0
 public async Task <AjaxModel <DressingViewModel> > DressingGet(int?machineId, DateTime?processDate)
 {
     return(await AjaxHelper.GetAsync(m => domain.DressingGet(machineId, processDate)));
 }
Пример #6
0
 public async Task <AjaxModel <List <ContactGroupsModel> > > ContactGroupsGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.ContactGroupsGet()));
 }
Пример #7
0
 public async Task <AjaxModel <UserModel> > UsersGetById(string userId)
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.UsersGetById(userId)));
 }
Пример #8
0
 public async Task <AjaxModel <VehicleServiceModel> > VehicleServiceGet(int vehicleServiceId)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleServiceGet(vehicleServiceId)));
 }
Пример #9
0
        public async Task <AjaxModel <List <InvoiceModel> > > InvoiceGet(int?InvoiceId)
        {
            var pagination = Request.Headers["Pagination"];

            return(await AjaxHelper.GetAsync(m => this.masterRepository.InvoiceGet(pagination, InvoiceId)));
        }
Пример #10
0
 public async Task <AjaxModel <List <RolesModel> > > RolesGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.RolesGet()));
 }
Пример #11
0
 public async Task <AjaxModel <List <VehicleDriverModel> > > DriversGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.DriversGet()));
 }
Пример #12
0
 public async Task <AjaxModel <List <ShortcutsModel> > > ShortcutsGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.ShortcutsGet()));
 }
Пример #13
0
 public async Task <AjaxModel <List <OrganizationsModel> > > OrganizationsGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.OrganizationsGet()));
 }
Пример #14
0
 public async Task <AjaxModel <List <OperatorModel> > > OperatorsGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.OperatorsGet()));
 }
Пример #15
0
 public async Task <AjaxModel <List <BladeModel> > > BladesGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.BladesGet()));
 }
Пример #16
0
 public async Task <AjaxModel <MachineViewModel> > MachinesGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.MachinesGet()));
 }
Пример #17
0
 public async Task <AjaxModel <VehicleDetailsModel> > VehicleDetailsGet(int vehicleId)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleDetailsGet(vehicleId)));
 }
Пример #18
0
 public async Task <AjaxModel <List <ListItem <int, string> > > > DriversListGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.DriversListGet()));
 }
Пример #19
0
 public async Task <AjaxModel <ManufacturerDetailsModel> > ManufacturerDetailsGet(int manufacturerId)
 {
     return(await AjaxHelper.GetAsync(m => domain.ManufacturerDetailsGet(manufacturerId)));
 }
Пример #20
0
 public async Task <AjaxModel <List <VehicleManufacturerModel> > > ManufacturersGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleManufacturersGet()));
 }
Пример #21
0
 public async Task <AjaxModel <List <VehicleServiceModel> > > VehicleServiceReportGet(int vehicleServiceId, DateTime StartDate, DateTime EndDate)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleServiceReportGet(vehicleServiceId, StartDate, EndDate)));
 }
Пример #22
0
 public async Task <AjaxModel <VehicleManufacturerModel> > ManufacturerGet(int manufacturerId)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleManufacturerGet(manufacturerId)));
 }
Пример #23
0
        public async Task <AjaxModel <List <GroupsModel> > > GroupsGet()
        {
            AjaxModel <List <GroupsModel> > result = await AjaxHelper.GetAsync(m => this.masterRepository.GroupsGet());

            return(result);
        }
Пример #24
0
 public async Task <AjaxModel <List <FuelModel> > > FuelGetList(int vehicleId)
 {
     return(await AjaxHelper.GetAsync(m => domain.FuelGetList(vehicleId)));
 }
Пример #25
0
 public async Task <AjaxModel <List <UserModel> > > UsersGet()
 {
     return(await AjaxHelper.GetAsync(m => this.masterRepository.UsersGet()));
 }
Пример #26
0
 public async Task <AjaxModel <ProfileModel> > ProfileGet()
 {
     return(await AjaxHelper.GetAsync(m => domain.ProfileGet()));
 }
Пример #27
0
 public async Task <AjaxModel <JobPostDomainDataModel> > JobDomainData()
 {
     return(await AjaxHelper.GetAsync(m => this.domain.JobDomainData()));
 }
Пример #28
0
 public async Task <AjaxModel <List <VehicleTripModel> > > VehicleTripListGet(int vehicleId)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleTripListGet(vehicleId)));
 }
Пример #29
0
 public async Task <AjaxModel <List <VehicleDriverAssignmentModel> > > VehicleDriverGetList(int vehicleId)
 {
     return(await AjaxHelper.GetAsync(m => domain.VehicleDriverGetList(vehicleId)));
 }
Пример #30
0
 public async Task <AjaxModel <ProfileModel> > Register([FromBody] RegisterUserModel model)
 {
     return(await AjaxHelper.GetAsync(m => this.domain.Register(model), Messages.RegisterUserSuccess));
 }