Class Configure
Namespace: Restaurant.Infrastructure
Assembly: Restaurant.Infrastructure.dll
public static class Configure
Inheritance
object ← Configure
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Methods
ConfigureInfrastructure\(IServiceCollection, IConfiguration\)
Add all repositories here to do Dependency Injection
public static IServiceCollection ConfigureInfrastructure(this IServiceCollection services, IConfiguration configuration)
Parameters
services IServiceCollection
configuration IConfiguration
Returns
Last modified: 21 May 2024