public IResult Delete(Page page) { var result = DeletePageImage(page.Image); if (result.Success) { _pageDal.Delete(page); return(new SuccessResult(Messages.PageDeleted)); } return(new ErrorResult()); }
public void Delete(Page page) { _pageDal.Delete(page); }