public async Task <List <User> > GetUsersAsync()
 {
     return(await client.GetAsync <List <User> >("users"));
 }
Exemplo n.º 2
0
 public async Task <List <MBECompany> > GetExternalCompanies()
 {
     return(await client.GetAsync <List <MBECompany> >("companies"));
 }
 public async Task <List <ProjectDocument> > GetProjectDocuments(string projectId)
 {
     return(await client.GetAsync <List <ProjectDocument> >($"projects/{projectId}/projectDocuments"));
 }
Exemplo n.º 4
0
 public async Task <List <MbeProject> > GetUserProjectsAsync()
 {
     return(await client.GetAsync <List <MbeProject> >("projects"));
 }
 public async Task <List <Door> > GetDoorsByEngProjectId(string mbeProjectId)
 {
     return(await client.GetAsync <List <Door> >($"projects/{mbeProjectId}/doors"));
 }