public MockCursaRepo() { _validator = new ValidatorCursa(); _listaCurse = new List <Cursa> { new Cursa(11, 1001, DateTime.Now, 18, "Bucuresti"), new Cursa(12, 1001, DateTime.Now, 18, "Galati"), new Cursa(13, 1002, DateTime.Now, 18, "Timisoara"), new Cursa(14, 1002, DateTime.Now, 18, "Constanta"), new Cursa(15, 1003, DateTime.Now, 18, "Cluj"), new Cursa(16, 1003, DateTime.Now, 18, "Bucuresti"), new Cursa(17, 1005, DateTime.Now, 18, "Bucuresti") }; }
public RepositoryCursa() { ValidatorCursa = new ValidatorCursa(); }