public Task <Dictionary <DateTime, MonthCostDetails> > GetCostsPerMonth() { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.GetCostsPerMonthAsync()); }
public Task <List <BusinessUnitCostDetails> > GetCostsPerMonthPerBusinessUnit() { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.GetCostsPerMonthPerBusinessUnitAsync()); }
public Task <BaseResult> DeleteRelation(Vehicle v, VehicleToEmployeeRelation r) { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.DeleteEmployeeRelationAsync(v, r)); }
public Task <List <Vehicle> > GetAll() { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.GetVehiclesAsync()); }
public Task <BaseResult> Delete(Vehicle v) { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.DeleteVehicleAsync(v)); }
public Task <List <Employee> > GetAll() { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.GetEmployeesAsync()); }
public Task <BaseResult> Delete(Employee e) { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(fleeter.DeleteEmployeeAsync(e)); }
public async Task <List <BusinessUnit> > GetAll() { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(await fleeter.GetBusinessUnitsAsync()); }
public async Task <BaseResult> Delete(BusinessUnit bu) { var fleeter = new FleeterServiceClient(); fleeter.Open(); return(await fleeter.DeleteBusinessUnitAsync(bu)); }