예제 #1
0
        public IResult Delete(Page page)
        {
            var result = DeletePageImage(page.Image);

            if (result.Success)
            {
                _pageDal.Delete(page);
                return(new SuccessResult(Messages.PageDeleted));
            }

            return(new ErrorResult());
        }
예제 #2
0
 public void Delete(Page page)
 {
     _pageDal.Delete(page);
 }