public LocationController(ILocation repoLocation , ILocationType repoLocationType , ILocationRelationship repoLocationRelationship , IContainer repoContainer) { this.dalLocation = repoLocation; this.dalLocationType = repoLocationType; this.dalLocationRelationship = repoLocationRelationship; this.dalContainer = repoContainer; maxPosition = dalLocation.GetMaxPosition(); }
public LocationTypeController(ILocationType repository) { _repository = repository; }
public LocationTypeController() { _repository = new LocationTypeRepository(new ripoffnigeria.Repository.Entities.RipOffContext()); }