Beispiel #1
0
 public LawsuitRepository(LawsuitDataContext context, ILocationRepository locRepository,
                          IContactRepository conRepository, ITypeOfProcessRepository tRepository)
 {
     this.context                 = context;
     this.locationRepository      = locRepository;
     this.contactRepository       = conRepository;
     this.typeOfProcessRepository = tRepository;
 }
        public LawsuitController(ILawsuitRepository lawRepository, ILocationRepository locRepository,
                                 IContactRepository conRepository, ITypeOfProcessRepository tRepository,
                                 LawsuitDataContext context, UserManager <User> userManager)
        {
            this.context     = context;
            this.userManager = userManager; //used for getting data for particular lawyer

            this.lawsuitRepository  = lawRepository;
            this.locationRepository = locRepository;
            this.contactRepository  = conRepository;
            this.typeOfRepository   = tRepository;
        }
Beispiel #3
0
 public LocationRepository(LawsuitDataContext context)
 {
     this.context = context;
 }
 public ContactRepository(LawsuitDataContext context)
 {
     this.context = context;
 }
Beispiel #5
0
 public TypeOfProcessRepository(LawsuitDataContext context)
 {
     this.context = context;
 }