Ejemplo n.º 1
0
 public QaController(IQaService qa, ISubDomainService subDomain, IDomainService domain, IQuestionService question, IAnswerService answer)
 {
     qaService        = qa;
     subDomainService = subDomain;
     domainService    = domain;
     questionService  = question;
     answerService    = answer;
 }
Ejemplo n.º 2
0
 public QaController()
 {
     _qaService = new QaService();
     _jsonResult = new JsonResult()
                       {
                           ContentEncoding = System.Text.Encoding.UTF8,
                           ContentType = "application/json",
                           JsonRequestBehavior = JsonRequestBehavior.DenyGet
                       };
     _userNamanger = new UserManager();
 }
Ejemplo n.º 3
0
 public QaController(IQaTypeService qaTypeService, IQaService qaService)
 {
     _qaService = qaService;
 }
Ejemplo n.º 4
0
 public QaController(IQaService qa, ISubDomainService subDomain, IAdvertiseService advertise)
 {
     qaService        = qa;
     subDomainService = subDomain;
     advertiseService = advertise;
 }