public async System.Threading.Tasks.Task <ActionResult> BrandMaster() { List <BrandMaster> _master = new List <BrandMaster>(); _master = Commonhelper.GetBrand(); return(View(_master)); }
private static IEnumerable <BrandMaster> GetBrandMaster() { List <BrandMaster> _master = new List <BrandMaster>(); using (var ctx = new ApplicationDbContext()) { _master = Commonhelper.GetBrand(); } return(_master); }