Esempio n. 1
0
 public string SignatureEdit(string user, string data)
 {
     Model.Signature singnature = GetSignature(user);
     if (singnature == null)
     {
         singnature      = new Model.Signature();
         singnature.User = user;
     }
     singnature.Content = data;
     singnature.Save();
     return(data);
 }
Esempio n. 2
0
 public string SignatureEdit(string user, string data)
 {
     Model.Signature singnature = GetSignature(user);
     if (singnature == null)
     {
         singnature = new Model.Signature();
         singnature.User = user;
     }
     singnature.Content = data;
     singnature.Save();
     return data;
 }