public Form1(IAccessLayer <assets> accessLayer, ISerializer <assets> serializer) { this._serializer = serializer ?? Factory.CreateDefaultSerializer <assets>(); this._accessLayer = accessLayer ?? throw new ArgumentNullException(nameof(accessLayer)); this.InitializeComponent(); }
public FuncionariosController(IAccessLayer accessLayer) { this.accessLayer = accessLayer; }
public JoeyController(IAccessLayer accessLayer, ILogger <JoeyController> logger) { _accessLayer = accessLayer; _logger = logger; }