Exemple #1
0
        public void GetSektorskaZanimanjaPremaRodovima()
        {
            // Arrange
            var manager = new SektoriManager();

            // Act
            var response = manager.GetSektorskaZanimanjaPremaRodovima("0200", "-1");

            // Assert
            Assert.AreEqual(response.Count(), 4);
        }
Exemple #2
0
        public IHttpActionResult GetSektorskaZanimanjaPremaRodovima(string sifraSektora, string sifraPodsektora)
        {
            var response = sektorManager.GetSektorskaZanimanjaPremaRodovima(sifraSektora, sifraPodsektora).ToList();

            return(Ok(response));
        }