/// <summary>
 /// Returns all synonyms for a user by id as a
 /// List of UserSynonym
 /// </summary>
 /// <param name="userId"></param>
 /// <returns>List of BlissBase.Model.UserSynonym or null</returns>
 public List<UserSynonym> GetSynonymForUser(int userId)
 {
     var uList = FindUser(userId);
     UserSynonymDAL uSynDal = new UserSynonymDAL();
     List<UserSynonym> uSynList = uSynDal.GetSynonymForUser(uList);
     return uSynList.Count == 0 ? null : uSynList;
 }
 public bool InsertSynonym(CompositeSymbol word, string name, List<Symbol> components)
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.InsertSynonym(word, name, components);
 }
 public bool SetUserSynonymApproved(int uSynId, bool bit)
 {
     var UserSynonymDAL = new UserSynonymDAL();
     return UserSynonymDAL.SetUserSynonymApproved(uSynId, bit);
 }
 public List<UserSynonym> GetSynonymForWord(CompositeSymbol word)
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.GetSynonymForWord(word);
 }
 public List<UserSynonym> GetSynonymForUser(UserSynonymList user)
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.GetSynonymForUser(user);
 }
 public UserSynonym GetExactSynonym(int id)
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.GetExactSynonym(id);
 }
 public List<UserSynonym> GetAll()
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.GetAll();
 }
 public bool DeleteSynonym(int id)
 {
     var UserSynonymDAL = new UserSynonymDAL(testing);
     return UserSynonymDAL.DeleteSynonym(id);
 }