Exemplo n.º 1
0
 public LawsuitRepository(LawsuitDataContext context, ILocationRepository locRepository,
                          IContactRepository conRepository, ITypeOfProcessRepository tRepository)
 {
     this.context                 = context;
     this.locationRepository      = locRepository;
     this.contactRepository       = conRepository;
     this.typeOfProcessRepository = tRepository;
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 public LocationRepository(LawsuitDataContext context)
 {
     this.context = context;
 }
Exemplo n.º 4
0
 public ContactRepository(LawsuitDataContext context)
 {
     this.context = context;
 }
Exemplo n.º 5
0
 public TypeOfProcessRepository(LawsuitDataContext context)
 {
     this.context = context;
 }