Exemplo n.º 1
0
        public List <Manufacturer> GetAllManufacturers()
        {
            List <Manufacturer> manufacturelist = null;

            try
            {
                manufacturelist = _masterRepository.GetAllManufacturers();

                manufacturelist = manufacturelist == null ? null : manufacturelist.OrderBy(manu => manu.Name).ToList();
            }
            catch (Exception)
            {
            }
            return(manufacturelist);
        }