public ActionResult Details(Guid id) { CustomerType item = _iCustomerTypeService.GetById(id); ViewBag.UserId = _iUserInfo.UserId; return(View(item)); }
public ApiResponseViewModel GetById(int id) { if (HttpContext.Current.Session["UserLogged"] == null) { return(CommonConstants.accessDenied); } return(_customerTypeService.GetById(id)); }