public ActionResult <SintomaResponse> Post(SintomaRequest request)
        {
            CrearSintomaService _service = new CrearSintomaService(_unitOfWork);
            SintomaResponse     response = _service.CrearSitoma(request);

            return(Ok(response));
        }
Beispiel #2
0
        public void Create(SintomaRequest request, string expected)
        {
            CrearSintomaService service = new CrearSintomaService(unitOfWork);
            var response = service.CrearSitoma(request);

            Assert.AreEqual(response.Message, expected);
        }