Esempio n. 1
0
        public void DeleteCaseReportByDocketNumber__RemoveCaseReportFromDatabase()
        {
            var docketNumber = Guid.NewGuid();

            SavedCaseReport(docketNumber);

            var service = new CaseReportsService();

            service.DeleteCaseReportByDocketNumber(docketNumber);
            var actual = GetCaseReport(docketNumber);

            Assert.AreEqual(actual, null);
        }
 public ActionResult DeleteCaseReportByDocketNumber(Guid docketNumber)
 {
     _caseReportsService.DeleteCaseReportByDocketNumber(docketNumber);
     return(Ok());
 }