public Task DeleteAsync(int id) { _pagesRepository.Delete(id); return(Task.FromResult <object>(null)); }