public childrenController(EFChildrenRepository mockRepo) { this.db = mockRepo; }
// default constructor - no dependency => use the database public childrenController(MocKchildrenRepository @object) { this.db = new EFChildrenRepository(); }
public childrenController(EFChildrenRepository mockRepo) { this.db = mockRepo; }
// default constructor - no dependency => use the database public childrenController(MocKchildrenRepository @object) { this.db = new EFChildrenRepository(); }