public async Task <int> AddProductMemorie(ProductMemories productMemories)
        {
            await _db.AddAsync(productMemories);

            await _db.SaveChangesAsync();

            return(productMemories.ProductMemoriesId);
        }
 public async Task UpdateProductMemorie(ProductMemories productMemories)
 {
     _db.Update(productMemories);
     await _db.SaveChangesAsync();
 }