public void GetAll_ServiceRequests_Return_NoContent()
        {
            using (var context = new ServiceRequestContext())
            {
                ServiceRequest sr = GetServiceRequest();

                var controller    = new ServiceRequestController(context);
                var contentStatus = (NoContentResult)controller.GetserviceRequests().Result.Result;

                Assert.NotNull(contentStatus);
                Assert.Equal(204, contentStatus.StatusCode);
            }
        }
        public void GetAll_ServiceRequests_Return_ServiceRequest()
        {
            using (var context = new ServiceRequestContext())
            {
                ServiceRequest sr = GetServiceRequest();

                var controller = new ServiceRequestController(context);
                _ = controller.PostServiceRequest(sr);
                ServiceRequest sr2 = GetServiceRequest();
                sr2.id = new Guid("dadd45b9-d13d-4fd1-9f29-514aa8459e0d");
                List <ServiceRequest> srs = new List <ServiceRequest>();
                srs.Add(sr);
                srs.Add(sr2);
                _ = controller.PostServiceRequest(sr2);
                var results = controller.GetserviceRequests();

                Assert.NotNull(results);
                Assert.NotNull(results.Result);
                Assert.Equal(srs, results.Result.Value);
            }
        }