// Construtor com inje??o de depend¨ºncia. public SellerService(DotNetCoreWebMVCContext context) { this._context = context; }
// Construtor com injeção de dependência. public DepartmentService(DotNetCoreWebMVCContext context) { this._context = context; }
public DepartmentsController(DotNetCoreWebMVCContext context) { _context = context; }
// Construtor com injeção de dependência. public SalesRecordService(DotNetCoreWebMVCContext context) { this._context = context; }