public async Task <PartType> AddPartTypeAsync(PartType partType) { return(await _storageProvider.GetOrCreatePartTypeAsync(partType, _requestContext.GetUserContext())); }
/// <summary> /// Save an oAuth Credential /// </summary> /// <param name="credential"></param> /// <returns></returns> public async Task <OAuthCredential> SaveOAuthCredentialAsync(OAuthCredential credential) { return(await _storageProvider.SaveOAuthCredentialAsync(credential, _requestContext.GetUserContext())); }
public async Task <ICollection <SearchResult <Part> > > FindPartsAsync(string keywords) { return(await _storageProvider.FindPartsAsync(keywords, _requestContext.GetUserContext())); }
public async Task <Project> AddProjectAsync(Project project) { return(await _storageProvider.AddProjectAsync(project, _requestContext.GetUserContext())); }