public Dictionary <string, object> RemoveCustomLogo()
        {
            LogoManager logoManager = new LogoManager();

            Dictionary <string, object> result = new Dictionary <string, object>();

            if (logoManager.Exists(UserContext.AssociationNumber, UserContext.UserID))
            {
                logoManager.Delete(UserContext.AssociationNumber, UserContext.UserID);
                result.Add("Status", "OK");
            }
            else
            {
                result.Add("Status", "NOT EXISTS");
            }

            return(result);
        }
Example #2
0
 public bool Delete(string assn, string userId)
 {
     return(_logoManager.Delete(assn, userId));
 }