Exemple #1
0
 public ContactController(IErrorService errorService
                          , IContactDetailService contactDetailService
                          , IFeedbackService feedbackService) : base(errorService)
 {
     this._contactDetailService = contactDetailService;
     this._feedbackService      = feedbackService;
 }
        public static ContactDetailsController GetInitialisedContactDetailsController(IContactDetailService contactDetailService)
        {
            var controller = new ContactDetailsController(contactDetailService)
            {
                Request = new HttpRequestMessage { RequestUri = new Uri(Url) },
                Configuration = new HttpConfiguration()
            };

            controller.Configuration.MapHttpAttributeRoutes();
            controller.Configuration.EnsureInitialized();

            return controller;
        }
Exemple #3
0
 public ContactController(IContactDetailService contactDetailService, IFeedbackService feedbackService)
 {
     _contactDetailService = contactDetailService;
     _feedbackService      = feedbackService;
 }
Exemple #4
0
 public ContactController(IContactDetailService contactDetailService, IFeedbackService feedbackService)
 {
     this._contactDetailService = contactDetailService;
     this._feedbackService      = feedbackService;
     this._mapper = AutoMapperConfiguration.Configuration().CreateMapper();
 }
Exemple #5
0
 public ContactController(IContactDetailService contactService, IFeedbackService feedbackService, IMapper mapper)
 {
     this._contactService  = contactService;
     this._feedbackService = feedbackService;
     Mapper = mapper;
 }
 public ContactController(IContactDetailService contactDetailService)
 {
     this._contactDetailService = contactDetailService;
 }
        public void Subscriber(IContactDetailService clientObject)
        {
            ContactManager subscribe = ContactManager.GetInstance();

            subscribe.Subscribe(clientObject);
        }
 public ContactDetailController(IContactDetailService contactDetailService, IFeedbackService feedbackService)
 {
     this._contactDetailService = contactDetailService;
     this._feedbackService      = feedbackService;
 }
 public ContactDetailController(IErrorService errorService, IContactDetailService contactDetailService)
     : base(errorService)
 {
     this._contactDetailService = contactDetailService;
 }
        public ContactDetailsController(IContactDetailService contactDetailService)
        {
            Check.If(contactDetailService).IsNotNull();

            _contactDetailService = contactDetailService;
        }
 public CustomerController(ICustomerService customerService, IAddressService addressService, IContactDetailService contactDetailService)
 {
     _customerService      = customerService;
     _addressService       = addressService;
     _contactDetailService = contactDetailService;
 }
Exemple #12
0
 public ContactController(IContactDetailService contactDetailService, IFeedBackSerive feedBackSerive)
 {
     this._contactDetailService = contactDetailService;
     this._feedBackSerive       = feedBackSerive;
 }
 public void Subscribe(IContactDetailService listener)
 {
     messageToClientDetail = listener;
 }
Exemple #14
0
 public ContactDetailController(IContactDetailService contactDetailService, IMapper mapper)
 {
     this._contactDetailService = contactDetailService;
     this._mapper = mapper;
 }