Beispiel #1
0
 public void CannAddAnOfficeToDb()
 {
     using (OfficeDbContext db = new OfficeDbContext())
     {
         db.offices.Add(office);
         db.SaveChanges();
     }
 }
 public SvgRepository(OfficeDbContext context)
 {
     this.context = context;
 }
 public ServiceTypeRepository(OfficeDbContext context) : base(context)
 {
 }
 public UserServiceRepository(OfficeDbContext context) : base(context)
 {
 }
Beispiel #5
0
 public TransitionRepository(OfficeDbContext context)
 {
     this.context = context;
 }
 public ServiceProviderRepository(OfficeDbContext context) : base(context)
 {
 }
Beispiel #7
0
 public UnitOfWork(OfficeDbContext context)
 {
     this.context = context;
 }
Beispiel #8
0
 public ServiceStatusRepository(OfficeDbContext context) : base(context)
 {
 }