public async Task <PortalViewModel> GetIsePortal(Guid id) { // TODO : Return a proper http response code var connection = GetIseConnection(); if (connection == null) { return(null); } var portal = await Portals.Get(connection, id); return(portal); }
public async Task <List <PortalBriefViewModel> > GetIsePortals() { // TODO : Return a proper http response code var connection = GetIseConnection(); if (connection == null) { return(null); } var portals = await Portals.Get(connection); return(portals); }