public BranchController(ILibraryBranch branch) { _branch = branch; }
//Inorder to have access to the root of WWWroot we inject IwebHosting interface public BranchController(ILibraryBranch branch, IWebHostEnvironment hostingEnvironment) { _branch = branch; _hostingEnvironment = hostingEnvironment; }
public BranchController(ILibraryBranch branch, IMapper mapper) { _branch = branch; _mapper = mapper; }
public LibraryController(ILibraryBranch branch) { this.branch = branch; }
public BranchController(ILibraryBranch branchService) { _branchService = branchService; }