public void Should_return_all_models()
        {
            var model = _sut.GetAll(_siteId);

            Assert.IsNotEmpty(model);
        }
示例#2
0
        public IActionResult Index()
        {
            var model = _emailAccountFacade.GetAll(SiteId);

            return(View(model));
        }
示例#3
0
        public IActionResult Get()
        {
            var emailAccounts = _emailAccountFacade.GetAll(SiteId);

            return(Ok(emailAccounts));
        }