ILicenseRepository

Namespace: Babel.Data Assembly: Babel.Data.dll

Interface for license repository.

public interface ILicenseRepository : IGenericRepository<License>

Implements

IGenericRepository<License>

Methods

Delete(IEnumerable<int>)

Deletes a list of licenses with the given primary key values.

void Delete(IEnumerable<int> licenseIds)

Parameters

NameDescription

licenseIds IEnumerable<int>

The license primary key ids to delete.

FindByLicenseIdAsync(string)

Find a license by its license id.

Task<List<License>> FindByLicenseIdAsync(string licenseId)

Parameters

NameDescription

licenseId string

The license id to search for.

Returns

NameDescription

A task that represents the asynchronous get operation.

Last updated