private void SetViewBags()
        {
            var classItem = _classService.Find(ParentEntityId.ToInteger());

            if (classItem != null)
            {
                ViewBag.ClassName = classItem.Name;
            }
            ViewBag.ClassId = ParentEntityId.ToString();
        }
예제 #2
0
        private void SetViewBag()
        {
            var productId   = ParentEntityId.ToInteger();
            var productItem = _productService.Find(productId);

            if (productItem != null)
            {
                ViewBag.ProductName = productItem.Name;
            }
            ViewBag.ProductId = ParentEntityId.ToString();
        }
예제 #3
0
        private void SetViewBags()
        {
            var classItem = _dosageService.Find(ParentEntityId.ToInteger());

            if (classItem != null)
            {
                //TODO:Kevin Check
                ViewBag.ClassName = classItem.Name;
            }
            ViewBag.ClassId = ParentEntityId.ToString();
        }