Ejemplo n.º 1
0
        public static void HandleRequestType(Cxt cxt, AccountRequestTypeE RequestType, string userName)
        {
            switch (RequestType)
            {
            case AccountRequestTypeE.ActivateEmail:
                SendActivationEmail(cxt, userName);
                break;

            case AccountRequestTypeE.ActivateAccount:
                ActivateUser(cxt, userName);
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
 public static void HandleRequestType(Cxt cxt, AccountRequestTypeE RequestType, string userName)
 {
     switch (RequestType)
     {
         case AccountRequestTypeE.ActivateEmail:
             SendActivationEmail(cxt, userName);
             break;
         case AccountRequestTypeE.ActivateAccount:
             ActivateUser(cxt, userName);
             break;
         default:
             break;
     }
 }