Пример #1
0
        //public IEnumerable<string> Get()
        //{
        //  return new string[] { "Abdul", "Nirmal", "Adeel" };
        //}

        public IEnumerable <Designation> Get()
        {
            List <Designation> lt = _designationRepository.GetAllDesignations().ToList();

            return(lt);
        }
Пример #2
0
        //public IEnumerable<string> Get()
        //{
        //  return new string[] { "Abdul", "Nirmal", "Adeel" };
        //}

        public IEnumerable <Designation> Get()
        {
            IEnumerable <Designation> lst = _designationRepository.GetAllDesignations();

            return(lst);
        }