public async Task <AjaxModel <List <TasksModel> > > TasksGet() { var pagination = Request.Headers["Pagination"]; return(await AjaxHelper.GetAsync(m => this.masterRepository.TasksGet(pagination))); }
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); })); }
public async Task <AjaxModel <List <VehicleTypeModel> > > VehicleTypeListGet() { return(await AjaxHelper.GetAsync(m => domain.VehicleTypeListGet())); }
public async Task <AjaxModel <List <TagsMasterModel> > > TagsMasterGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.TagsMasterGet())); }
public async Task <AjaxModel <DressingViewModel> > DressingGet(int?machineId, DateTime?processDate) { return(await AjaxHelper.GetAsync(m => domain.DressingGet(machineId, processDate))); }
public async Task <AjaxModel <List <ContactGroupsModel> > > ContactGroupsGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.ContactGroupsGet())); }
public async Task <AjaxModel <UserModel> > UsersGetById(string userId) { return(await AjaxHelper.GetAsync(m => this.masterRepository.UsersGetById(userId))); }
public async Task <AjaxModel <VehicleServiceModel> > VehicleServiceGet(int vehicleServiceId) { return(await AjaxHelper.GetAsync(m => domain.VehicleServiceGet(vehicleServiceId))); }
public async Task <AjaxModel <List <InvoiceModel> > > InvoiceGet(int?InvoiceId) { var pagination = Request.Headers["Pagination"]; return(await AjaxHelper.GetAsync(m => this.masterRepository.InvoiceGet(pagination, InvoiceId))); }
public async Task <AjaxModel <List <RolesModel> > > RolesGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.RolesGet())); }
public async Task <AjaxModel <List <VehicleDriverModel> > > DriversGet() { return(await AjaxHelper.GetAsync(m => domain.DriversGet())); }
public async Task <AjaxModel <List <ShortcutsModel> > > ShortcutsGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.ShortcutsGet())); }
public async Task <AjaxModel <List <OrganizationsModel> > > OrganizationsGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.OrganizationsGet())); }
public async Task <AjaxModel <List <OperatorModel> > > OperatorsGet() { return(await AjaxHelper.GetAsync(m => domain.OperatorsGet())); }
public async Task <AjaxModel <List <BladeModel> > > BladesGet() { return(await AjaxHelper.GetAsync(m => domain.BladesGet())); }
public async Task <AjaxModel <MachineViewModel> > MachinesGet() { return(await AjaxHelper.GetAsync(m => domain.MachinesGet())); }
public async Task <AjaxModel <VehicleDetailsModel> > VehicleDetailsGet(int vehicleId) { return(await AjaxHelper.GetAsync(m => domain.VehicleDetailsGet(vehicleId))); }
public async Task <AjaxModel <List <ListItem <int, string> > > > DriversListGet() { return(await AjaxHelper.GetAsync(m => domain.DriversListGet())); }
public async Task <AjaxModel <ManufacturerDetailsModel> > ManufacturerDetailsGet(int manufacturerId) { return(await AjaxHelper.GetAsync(m => domain.ManufacturerDetailsGet(manufacturerId))); }
public async Task <AjaxModel <List <VehicleManufacturerModel> > > ManufacturersGet() { return(await AjaxHelper.GetAsync(m => domain.VehicleManufacturersGet())); }
public async Task <AjaxModel <List <VehicleServiceModel> > > VehicleServiceReportGet(int vehicleServiceId, DateTime StartDate, DateTime EndDate) { return(await AjaxHelper.GetAsync(m => domain.VehicleServiceReportGet(vehicleServiceId, StartDate, EndDate))); }
public async Task <AjaxModel <VehicleManufacturerModel> > ManufacturerGet(int manufacturerId) { return(await AjaxHelper.GetAsync(m => domain.VehicleManufacturerGet(manufacturerId))); }
public async Task <AjaxModel <List <GroupsModel> > > GroupsGet() { AjaxModel <List <GroupsModel> > result = await AjaxHelper.GetAsync(m => this.masterRepository.GroupsGet()); return(result); }
public async Task <AjaxModel <List <FuelModel> > > FuelGetList(int vehicleId) { return(await AjaxHelper.GetAsync(m => domain.FuelGetList(vehicleId))); }
public async Task <AjaxModel <List <UserModel> > > UsersGet() { return(await AjaxHelper.GetAsync(m => this.masterRepository.UsersGet())); }
public async Task <AjaxModel <ProfileModel> > ProfileGet() { return(await AjaxHelper.GetAsync(m => domain.ProfileGet())); }
public async Task <AjaxModel <JobPostDomainDataModel> > JobDomainData() { return(await AjaxHelper.GetAsync(m => this.domain.JobDomainData())); }
public async Task <AjaxModel <List <VehicleTripModel> > > VehicleTripListGet(int vehicleId) { return(await AjaxHelper.GetAsync(m => domain.VehicleTripListGet(vehicleId))); }
public async Task <AjaxModel <List <VehicleDriverAssignmentModel> > > VehicleDriverGetList(int vehicleId) { return(await AjaxHelper.GetAsync(m => domain.VehicleDriverGetList(vehicleId))); }
public async Task <AjaxModel <ProfileModel> > Register([FromBody] RegisterUserModel model) { return(await AjaxHelper.GetAsync(m => this.domain.Register(model), Messages.RegisterUserSuccess)); }