Example #1
0
        // if we tell the controller we are testing, use the mock data interface
        public arpitphonesController(IarpitphonesRepository db)

        {
            this.db = db;
        }
Example #2
0
        // if no mock specified, use db

        public arpitphonesController()
        {
            this.db = new EFarpitphonesRepository();
        }