Exemplo n.º 1
0
        protected override bool PerformDelete(Type type, object toDelete)
        {
            bool result = DaoRepository.Delete(type, toDelete);

            if (result)
            {
                result = YamlDataDirectory.Delete(type, toDelete);
            }
            return(result);
        }
Exemplo n.º 2
0
        public override bool Delete <T>(T toDelete)
        {
            bool result = DaoRepository.Delete <T>(toDelete);

            if (result)
            {
                result = YamlDataDirectory.Delete <T>(toDelete);
            }
            return(result);
        }