Exemplo n.º 1
0
        public string closeEventList()
        {
            string Link = MyMonth.ToString() + "-" + MyYear.ToString();

            return(Link);
        }
Exemplo n.º 2
0
        public string getEventForm()
        {
            string Link = MyDay.ToString() + "-" + MyMonth.ToString() + "-" + MyYear.ToString() + "-NewEvent";

            return(Link);
        }
Exemplo n.º 3
0
        public string editEvent(string MyName, string MyTime)
        {
            string         Link = MyDay.ToString() + "-" + MyMonth.ToString() + "-" + MyYear.ToString() + "-Edit" + "/" + MyName + "/" + MyTime;
            EventViewModel temp = new EventViewModel();

            temp.MyYear  = MyYear;
            temp.MyMonth = MyMonth;
            temp.MyDay   = MyDay;
            temp.MyName  = MyName;
            temp.MyTime  = MyTime;
            return(Link);
        }
Exemplo n.º 4
0
        public string cancelEvent()
        {
            string Link = "/" + MyDay.ToString() + "-" + MyMonth.ToString() + "-" + MyYear.ToString();

            return(Link);
        }