public override async Task <ResponseMessage> LoadParametersByCompId(string compId, List <Parameter> ImportParams) { ResponseMessage response = await CDPHandler.LoadParametersByCompId(CompName, compId); if (!response.IsSuccessful) { return(response); } //update parameters with the values fetched from the databases return(SaveImportParameters(response, null, ImportParams)); }
public override async Task <ResponseMessage> UpdateComponentToDB() { string updateUrl = GetPutUrl(CompName); return(await CDPHandler.UpdateComponentToDB(updateUrl, ComponentDetails.ToString())); }
protected override object ExtractResponseBody(object jsonData, string dataName = null) => CDPHandler.ExtractResponseBody(jsonData);
protected override string GetAllComponenstUrl() => CDPHandler.GetAllComponenstUrl(CompName);
public override async Task <ResponseMessage> FetchDataFromDB(string url) { return(await CDPHandler.FetchDataFromDB(url)); }
async Task <ResponseMessage> IDbHandler.GetAttributeValuesOfAllComponents(string[] attrPath) => await CDPHandler.GetAttributeValuesOfAllComponents(attrPath);