Пример #1
0
        protected void Button22_Click(object sender, EventArgs e)
        {
            IKartablRequests reg = new BKartabl();

            reg.GetRequestCount("123", 1392, 2);
            reg.GetRequestCount(RequestType.None, 1392, 2);
            reg.GetAllRequests(RequestType.None, 1392, 2, 0, 20, KartablOrderBy.RequestDate);
            reg.GetAllRequests("123", 1392, 2, 0, 20, KartablOrderBy.RequestDate);
        }
Пример #2
0
        protected void Button19_Click1(object sender, EventArgs e)
        {
            IReviewedRequests reg = new BKartabl();
            int a = reg.GetRequestCount("", 1392, 2);

            a = reg.GetRequestCount(RequestState.UnKnown, 1392, 2);
            reg.GetAllRequests("", 1392, 3, 0, 13, KartablOrderBy.RequestDate);
            reg.GetAllRequests("مهدی", 1392, 3, 0, 13, KartablOrderBy.RequestDate);
            reg.GetAllRequests(RequestState.UnKnown, 1392, 2, 0, 15, KartablOrderBy.RequestDate);
        }
Пример #3
0
 protected void Button24_Click(object sender, EventArgs e)
 {
     IKartablRequests bus       = new BKartabl();
     int countr                 = bus.GetRequestCount("2111", 1391, 8);
     IList <KartablProxy> list  = bus.GetAllRequests(RequestType.None, 1391, 8, 0, 10, KartablOrderBy.PersonCode);
     IList <KartablProxy> list2 = bus.GetAllRequests("2111", 1391, 8, 0, 10, KartablOrderBy.PersonCode);
 }