Beispiel #1
0
        public void IncluirArea()
        {
            // Arrange
            var area = new Area
            {
                AlteradoPor = 1,
                Descricao = "Theory",
            };
            var service = new AreaService();

            // Act
            var id = service.Gravar(area);

            // Assert
            Assert.AreEqual(1, id);
        }
Beispiel #2
0
        // GET: Administrativo/Area/Create
        public ActionResult Create()
        {
            var area = new Area();

            return View(area);
        }