public void Insert(int?RoleId, string UserId, DateTime?CreatedDate)
        {
            SysScreen item = new SysScreen();

            item.RoleId = RoleId;

            item.UserId = UserId;

            item.CreatedDate = CreatedDate;


            item.Save(UserName);
        }
        public void Update(int Id, int?RoleId, string UserId, DateTime?CreatedDate)
        {
            SysScreen item = new SysScreen();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.RoleId = RoleId;

            item.UserId = UserId;

            item.CreatedDate = CreatedDate;

            item.Save(UserName);
        }
 public bool Destroy(object Id)
 {
     return(SysScreen.Destroy(Id) == 1);
 }
 public bool Delete(object Id)
 {
     return(SysScreen.Delete(Id) == 1);
 }