public void GetAllRetrieveErrorWithEmptyParameter()
        {
            // Arrange
            var env = new Mock <IWebHostEnvironment>();

            env.Setup(x => x.WebRootPath).Returns(@"C:\Proyectos\ResumeCV\ResumeCVCoreAng2\ResumeCVCoreAng2\wwwroot");
            var    obj      = new LangAPIController(env.Object);
            string expected = "";
            // Act
            var      jsonresult = obj.GetAll(expected);
            MyResume result     = (MyResume)jsonresult.Value;
            // Assert
            //Assert.IsNull(result);
        }
        public void GetAllRetrieveSpanish()
        {
            // Arrange
            var env = new Mock <IWebHostEnvironment>();

            env.Setup(x => x.WebRootPath).Returns(@"C:\Proyectos\ResumeCV\ResumeCVCoreAng2\ResumeCVCoreAng2\wwwroot");
            var obj      = new LangAPIController(env.Object);
            var expected = "es";
            // Act
            var      jsonresult = obj.GetAll(expected);
            MyResume result     = (MyResume)jsonresult.Value;

            // Assert
            Assert.AreEqual(expected, result.Language);
        }