Сервис для работы с контактами.
Esempio n. 1
0
        public void SetUp()
        {
            _contactRepository = Mock.Of<IContactRepository>();
            _contactService = new ContactService(_contactRepository);

            _contact = new ContactItem()
            {
                Id = 1,
                Type = ContactType.MobilePhone,
                Value = "8-999-999-99-99"
            };
        }
Esempio n. 2
0
 public void ContactService_Void_Success()
 {
     var s = new ContactService();
 }
Esempio n. 3
0
 /// <summary>
 /// Конструктор контроллера контактов.
 /// </summary>
 public ContactController()
 {
     _contactService = new ContactService();
 }