Example #1
0
 public static bool OCAffairs_Beach_Upd(OCAffairs model)
 {
     if (!UserService.OC_IsRole(model.OCID))
     {
         return false;
     }
     AffairsBLL affairsBLL = new AffairsBLL();
     return affairsBLL.OCAffairs_Beach_Upd(model);
 }
Example #2
0
 public static bool Affairs_Del(OCAffairs model)
 {
     if (!UserService.OC_IsRole(model.OCID))
     {
         return false;
     }
     AffairsBLL affairsBLL = new AffairsBLL();
     return Affairs_Del(model);
 }
Example #3
0
        public static List<OCAffairs> Affairs_List(OCAffairs model, int PageIndex, int PageSize)
        {
            //if (!UserService.OC_IsRole(model.OCID))
            //{
            //    return new List<OCAffairs>();
            //}

            IES.JW.Model.User user = IES.Service.UserService.CurrentUser;
            model.UserID = user.UserID;
            AffairsBLL affairsBLL = new AffairsBLL();
            return affairsBLL.Affairs_List(model, PageIndex, PageSize);
        }
Example #4
0
 public static bool OCAffairs_Status_Upd(OCAffairs model)
 {
     AffairsBLL affairsBLL = new AffairsBLL();
     return affairsBLL.OCAffairs_Status_Upd(model);
 }