public Task InsertOrReplaceAsync(IEmployeeNotificationId employeeNotificationId) { return(_storage.InsertOrReplaceAsync(new EmployeeNotificationIdEntity(employeeNotificationId))); }
public EmployeeNotificationIdEntity(IEmployeeNotificationId employeeNotificationId) { PartitionKey = GetPartitionKey(employeeNotificationId.EmployeeId); RowKey = GetRowKey(employeeNotificationId.Platform); NotificationId = employeeNotificationId.NotificationId; }