Exemplo n.º 1
0
        public void Test_getSpecificLists_byNameParticipant_returnRoswByList_id()
        {
            //arrange
            var result = iTrueparticipant.getSpecificList("marcin", iFakeparticipant);
            //act
            var target = iFakeparticipant.getAllList();

            //assert
            try
            {
                NUnit.Framework.Assert.Greater(result.Count, 1);
            }
            catch (AssertionException aex)
            {
                string err = aex.Message;
            }
        }
        public ActionResult StartingList(string nazwisko)
        {
            List <VStartingLists> result = new List <VStartingLists>();

            if (String.IsNullOrEmpty(nazwisko))
            {
                result = istartGroup.getAllList();
            }
            else
            {
                result = istartGroup.getSpecificList(nazwisko, istartGroup);
            }
            return(View(result));
        }