예제 #1
0
 public SesstionService(IRepository <Session> SesstionRepository, ILawyerAppointmentService LawyerAppointmentService, IRepository <Lawyer> LawyerRepository,
                        IRepository <SessionNote> SessionNoteRepository)
 {
     this.SesstionRepository       = SesstionRepository;
     this.LawyerAppointmentService = LawyerAppointmentService;
     this.LawyerRepository         = LawyerRepository;
     this.SessionNoteRepository    = SessionNoteRepository;
 }
예제 #2
0
 public LawyerService(IRepository <Lawyer> LawyerRepository, IRepository <LawyerSpecialization> LawyerSpecializationRepository,
                      ILawyerAppointmentService lawyerAppointmentService, IRepository <PriceRange> PriceRangeRepository, IRepository <Review> ReviewRepository,
                      IRepository <LawyerExperience> LawyerExperienceRepository)
 {
     this.LawyerRepository = LawyerRepository;
     this.LawyerSpecializationRepository = LawyerSpecializationRepository;
     this.lawyerAppointmentService       = lawyerAppointmentService;
     this.PriceRangeRepository           = PriceRangeRepository;
     this.ReviewRepository           = ReviewRepository;
     this.LawyerExperienceRepository = LawyerExperienceRepository;
 }
예제 #3
0
 public LawyerApiController(ILawyerService lawyerService,
                            ILawyerAppointmentService lawyerAppointmentService, ISesstionService SesstionService, IPriceRangeService PriceRangeService,
                            IDocumentService DocumentService, ICountryService CountryService, IReviewService ReviewService, IServiceService ServiceService,
                            IEmailSender emailSender,
                            UserManager <ApplicationUser> userManager, ILoggerManager logger, ApplicationDbContext con) : base(userManager, logger)
 {
     this.lawyerService            = lawyerService;
     this.lawyerAppointmentService = lawyerAppointmentService;
     this.SesstionService          = SesstionService;
     this.PriceRangeService        = PriceRangeService;
     this.DocumentService          = DocumentService;
     this.CountryService           = CountryService;
     this.ReviewService            = ReviewService;
     this.ServiceService           = ServiceService;
     this.emailSender = emailSender;
     this.con         = con;
 }