Exemplo n.º 1
0
 protected override void OnSave()
 {
     if (this.IsNew)
     {
         this.Owner = EmpiriaUser.Current.AsContact();
     }
     KBItemsData.WriteNote(this);
 }
Exemplo n.º 2
0
        static public FixedList <Note> GetList(string objectType, string objectUID,
                                               string keywords = "")
        {
            Assertion.AssertObject(objectType, "objectType");
            Assertion.AssertObject(objectUID, "objectUID");

            return(KBItemsData.GetObjectPostingsList(objectType, objectUID,
                                                     keywords));
        }
Exemplo n.º 3
0
 static public FixedList <Faq> Search(string keywords = "")
 {
     return(KBItemsData.SearchFaq(keywords));
 }