Сервис для работы с людьми.
Ejemplo n.º 1
0
        public void SetUp()
        {
            _personRepository = Mock.Of<IPersonRepository>();
            _personService = new PersonService(_personRepository);

            _person = new PersonItem()
            {
                FirstName = "Василий",
                FatherName = "Петрович",
                LastName = "Иванов",
                Birthday = DateTime.Now.Date
            };
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Конструктор контроллера людей.
 /// </summary>
 public PersonController()
 {
     _personService = new PersonService();
 }
Ejemplo n.º 3
0
 public void PersonService_Void_Success()
 {
     var s = new PersonService();
 }