Example #1
0
        public ActionResult Index(int?noDelete)
        {
            _iCommonService.GetPageWiseRoleRigths("IngredientUnit");
            List <IngredientUnitModel> ingredientUniList = new List <IngredientUnitModel>();

            ingredientUniList = _iIngredientUnitService.GetIngredientUnitList().ToList();
            if (noDelete != null)
            {
                ViewBag.Result = _locService.GetLocalizedHtmlString("Can not delete reference available.");
            }
            return(View(ingredientUniList));
        }