Esempio n. 1
0
        public void RemoveEmblem(int id)
        {
            logger.Info("BLL: Process of removing emblem from user started");

            try
            {
                daoUsers.RemoveEmblem(id);

                logger.Info("BLL: Process of removing emblem from user done");
            }
            catch (StorageException e)
            {
                logger.Error("BLL: Process of removing emblem from user failed!");
                throw new Exception("error while removing emblem process", e);
            }
            catch (Exception e)
            {
                logger.Error("BLL: Process of removing emblem from user failed!");
                throw new Exception("error while removing emblem process", e);
            }
        }