public void Should_return_all_models() { var model = _sut.GetAll(_siteId); Assert.IsNotEmpty(model); }
public IActionResult Index() { var model = _emailAccountFacade.GetAll(SiteId); return(View(model)); }
public IActionResult Get() { var emailAccounts = _emailAccountFacade.GetAll(SiteId); return(Ok(emailAccounts)); }