Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         var getdashoard = DashboardController.DashboardViewUser(ContentSession.USERID);
         if (getdashoard != null)
         {
             Response.Redirect(ResolveUrl(getdashoard.DashboardURL));
         }
         else
         {
             Response.Redirect(ResolveUrl(DashboardController.DashboardDefURL()));
         }
     }
 }