﻿using Measurements.Api.Domain.Entities;
using Microsoft.Azure.Cosmos;

namespace Measurements.Api.Infrastructure.Interfaces
{
    public interface IContainerContext<in T> where T : BaseEntity
    {
        string GenerateId(T entity);
        PartitionKey ResolvePartitionKey(string entityId);
    }
}
