Сервис для работы с людьми.
Esempio n. 1
0
        public void SetUp()
        {
            _housingRepository = Mock.Of<IHousingRepository>();
            _housingService = new HousingService(_housingRepository);

            _housing = new HousingItem()
            {
                Id = 1,
                Name = "test",
                Memo = "Описание"
            };
        }
Esempio n. 2
0
 /// <summary>
 /// Конструктор контроллера корпусов.
 /// </summary>
 public HousingController()
 {
     _housingService = new HousingService();
 }
Esempio n. 3
0
 public void HousingService_Void_Success()
 {
     var s = new HousingService();
 }