public SessionApiController(ISesstionService SesstionService, IDocumentService DocumentService, ILawyerService LawyerService,
                             UserManager <ApplicationUser> userManager, IHostingEnvironment hostingEnvironment,
                             ILoggerManager logger) : base(userManager, hostingEnvironment, logger)
 {
     this.SesstionService = SesstionService;
     this.DocumentService = DocumentService;
     this.LawyerService   = LawyerService;
 }
 public UserApiController(ISesstionService SesstionService, ILawyerService LawyerService, IReviewService ReviewService, IDocumentService DocumentService,
                          IQuestionService QuestionService, ICountryService CountryService,
                          UserManager <ApplicationUser> userManager, IHostingEnvironment hostingEnvironment) : base(userManager, hostingEnvironment)
 {
     this.SesstionService = SesstionService;
     this.LawyerService   = LawyerService;
     this.ReviewService   = ReviewService;
     this.QuestionService = QuestionService;
     this.CountryService  = CountryService;
     this.DocumentService = DocumentService;
 }
示例#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;
 }