Пример #1
0
 static ContactGroupService()
 {
     _repository = RepositoryFactory.GetRepository <IContactGroupRepository, int, ContactGroup>();
 }
Пример #2
0
 static ContactGroupService()
 {
     _repository = RepositoryFactory.GetRepository<IContactGroupRepository, int, ContactGroup>();
 }
Пример #3
0
 public ContactGroupBusinessLogic(IContactGroupRepository contactGroupRepository)
 {
     this.contactGroupRepository = contactGroupRepository;
 }
Пример #4
0
 public ContactGroupService(IContactGroupRepository _contactGroupRepository, IContactGroupValidator _contactGroupValidator)
 {
     _repository = _contactGroupRepository;
     _validator  = _contactGroupValidator;
 }
Пример #5
0
 public ContactGroupsController(IContactGroupRepository contactRepository, IUriService uriService)
 {
     this.contactGroupRepository = contactRepository;
     this.uriService             = uriService;
 }