Exemplo n.º 1
0
        public Task <Dictionary <DateTime, MonthCostDetails> > GetCostsPerMonth()
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.GetCostsPerMonthAsync());
        }
Exemplo n.º 2
0
        public Task <List <BusinessUnitCostDetails> > GetCostsPerMonthPerBusinessUnit()
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.GetCostsPerMonthPerBusinessUnitAsync());
        }
Exemplo n.º 3
0
        public Task <BaseResult> DeleteRelation(Vehicle v, VehicleToEmployeeRelation r)
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.DeleteEmployeeRelationAsync(v, r));
        }
Exemplo n.º 4
0
        public Task <List <Vehicle> > GetAll()
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.GetVehiclesAsync());
        }
Exemplo n.º 5
0
        public Task <BaseResult> Delete(Vehicle v)
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.DeleteVehicleAsync(v));
        }
Exemplo n.º 6
0
        public Task <List <Employee> > GetAll()
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.GetEmployeesAsync());
        }
Exemplo n.º 7
0
        public Task <BaseResult> Delete(Employee e)
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(fleeter.DeleteEmployeeAsync(e));
        }
Exemplo n.º 8
0
        public async Task <List <BusinessUnit> > GetAll()
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(await fleeter.GetBusinessUnitsAsync());
        }
Exemplo n.º 9
0
        public async Task <BaseResult> Delete(BusinessUnit bu)
        {
            var fleeter = new FleeterServiceClient();

            fleeter.Open();
            return(await fleeter.DeleteBusinessUnitAsync(bu));
        }