예제 #1
0
        public async System.Threading.Tasks.Task <ActionResult> BrandMaster()
        {
            List <BrandMaster> _master = new List <BrandMaster>();

            _master = Commonhelper.GetBrand();

            return(View(_master));
        }
예제 #2
0
        private static IEnumerable <BrandMaster> GetBrandMaster()
        {
            List <BrandMaster> _master = new List <BrandMaster>();

            using (var ctx = new ApplicationDbContext())
            {
                _master = Commonhelper.GetBrand();
            }

            return(_master);
        }