public RootController(IApplicationsBLL applicationsBLL) { if (applicationsBLL == null) { throw new ArgumentNullException(nameof(applicationsBLL)); } _applicationsBLL = applicationsBLL; }
public ApplicationController(IApplicationsBLL applicationsBLL) { _applicationsBLL = applicationsBLL ?? throw new ArgumentNullException(nameof(applicationsBLL)); }