예제 #1
0
        public ActionResult Details(Guid id)
        {
            CustomerType item = _iCustomerTypeService.GetById(id);

            ViewBag.UserId = _iUserInfo.UserId;
            return(View(item));
        }
예제 #2
0
 public ApiResponseViewModel GetById(int id)
 {
     if (HttpContext.Current.Session["UserLogged"] == null)
     {
         return(CommonConstants.accessDenied);
     }
     return(_customerTypeService.GetById(id));
 }