private BaseViewModel createSongCollection() { var req = new SongAdminRequestHandler(); var fac = new SongAdminVMFactory(); var coll = new BaseAdminModelCollection <SongModel>(req, fac); return(new AdminSongCollection(coll)); }
private BaseViewModel createUserCollection() { var req = new UserAdminRequestHandler(); var fac = new UserAdminVMFactory(); var coll = new BaseAdminModelCollection <UserModel>(req, fac); return(new AdminUserCollection(coll)); }
public AdminRatingCollection(BaseAdminModelCollection <RatingModel> collection) { Collection = collection; DeleteCommand = new RelayCommand(handleDelete); }
public BaseCollectionUpdater(BaseAdminModelCollection <T> coll) { collection = coll; }
public AdminUserCollection(BaseAdminModelCollection <UserModel> collection) { Collection = collection; initFields(); initCommands(); }
public AdminSongCollection(BaseAdminModelCollection <SongModel> collection) { Collection = collection; initFields(); initCommands(); }