public static ProcessOneBusiness<VehicleVM> NewUpdateVehicleBusiness() { _vehicleBusiness = new UpdateVehicleBusiness(new UpdateVehicleRepo(ConnStringGetter.GetConnString),new Response<VehicleVM>() ); return _vehicleBusiness; }
public static ProcessOneBusiness<ModelVM> NewUpdateModelBusiness() { _modelBusiness = new UpdateModelBusiness(new UpdateModelRepo(ConnStringGetter.GetConnString),new Response<ModelVM>()); return _modelBusiness; }
public static ProcessOneBusiness<LeadUpdateVM> NewReadLeadOnIDBusiness() { _LeadUpdateBusiness = new ReadLeadOnIDBusiness(new ReadLeadOnIDRepo(ConnStringGetter.GetConnString), new Response<LeadUpdateVM>()); return _LeadUpdateBusiness; }
public static ProcessOneBusiness<ModelVM> NewReadOneModelOnIdBusiness() { _modelBusiness = new ReadOneModelOnIDBusiness(new ReadModelByIDRepo(ConnStringGetter.GetConnString),new Response<ModelVM>() ); return _modelBusiness; }
public static ProcessOneBusiness<InqueryVM> NewCreateInquerybusiness() { _inqueryBusiness = new CreateInqueryBusiness(); return _inqueryBusiness; }