public DepartmentController(IDepartmentAggregateManagementService departmentAggregateManagementService, IOrganizationManagementService organizationManagementService) { if (departmentAggregateManagementService == (IDepartmentAggregateManagementService)null) throw new ArgumentNullException("departmentAggregateManagementService"); if (organizationManagementService == (IOrganizationManagementService)null) throw new ArgumentNullException("organizationManagementService"); _departmentAggregateManagementService = departmentAggregateManagementService; _organizationManagementService = organizationManagementService; }
public EquipmentController(IEquipmentAggregateManagementService equipmentAggregateManagementService, IDepartmentAggregateManagementService departmentAggregateManagementService) { if (equipmentAggregateManagementService == (IEquipmentAggregateManagementService)null) throw new ArgumentNullException("organizationManagementService"); if (departmentAggregateManagementService == (IDepartmentAggregateManagementService)null) throw new ArgumentNullException("departmentAggregateManagementService"); _equipmentAggregateManagementService = equipmentAggregateManagementService; _departmentAggregateManagementService = departmentAggregateManagementService; }
public DepartmentController(IDepartmentAggregateManagementService departmentAggregateManagementService, IOrganizationManagementService organizationManagementService) { if (departmentAggregateManagementService == (IDepartmentAggregateManagementService)null) { throw new ArgumentNullException("departmentAggregateManagementService"); } if (organizationManagementService == (IOrganizationManagementService)null) { throw new ArgumentNullException("organizationManagementService"); } _departmentAggregateManagementService = departmentAggregateManagementService; _organizationManagementService = organizationManagementService; }
public EquipmentController(IEquipmentAggregateManagementService equipmentAggregateManagementService, IDepartmentAggregateManagementService departmentAggregateManagementService) { if (equipmentAggregateManagementService == (IEquipmentAggregateManagementService)null) { throw new ArgumentNullException("organizationManagementService"); } if (departmentAggregateManagementService == (IDepartmentAggregateManagementService)null) { throw new ArgumentNullException("departmentAggregateManagementService"); } _equipmentAggregateManagementService = equipmentAggregateManagementService; _departmentAggregateManagementService = departmentAggregateManagementService; }