Beispiel #1
0
 public UserDetails GetCurrentUserDetails()
 {
     return(new UserDetails()
     {
         UserId = CommonSafeConvert.ToInt(Session["CurrentUserID"]),
         UserLoginName = Convert.ToString(Session["CurrentUser"])
     });
 }
Beispiel #2
0
 public int GetCurrentShopId()
 {
     return(CommonSafeConvert.ToInt(Session["CurrentShopID"]));
 }