public async Task <bool> CreateGPUPart(GPUServiceModel gPUServiceModel) { GPU gPUEntity = gPUServiceModel.To <GPU>(); gPUEntity.Id = Guid.NewGuid().ToString(); bool result = await this.pCCDbContext.AddAsync(gPUEntity) != null; await this.pCCDbContext.SaveChangesAsync(); return(result); }