Пример #1
0
 public void SetUp()
 {
     repository = new PlaneModelRepository(new BoengServiceWebSiteContext());
     plane      = new PlaneModel()
     {
         Name = "Not Boeing", Description = "Totally not boeing", YearOfProd = DateTime.UtcNow
     };
     PlaneRepository_CreatePlane(plane);
 }
Пример #2
0
 public UnitOfWork(IPlaneModelRepository planes, IUserRepository users, IPlanePartRepository parts)
 {
     Planes = planes;
     Users  = users;
     Parts  = parts;
 }