// GET: api/DeletedDocument public IEnumerable<DeletedDocument> Get() { DeletedItemsRepository deletedItemsRepository = new DeletedItemsRepository(); return deletedItemsRepository.GetDeletedDocuments(); }
// GET: api/DeletedNumber public int Get() { DeletedItemsRepository deletedItemsRepository = new DeletedItemsRepository(); return deletedItemsRepository.GetDeletedItemsCount(); }