public VehicleController(IUnitOfWork unitOfWork, IBulkService bulkService, IHttpContextAccessor httpHttpContextAccessor) { _unitOfWork = unitOfWork; _bulkService = bulkService; _branchIdOfLoggedInUser = int.Parse(httpHttpContextAccessor.HttpContext.User.Claims .FirstOrDefault(c => c.Type == "BranchId").Value); }
public BranchController(IUnitOfWork unitOfWork, IBulkService bulkService) { _unitOfWork = unitOfWork; _bulkService = bulkService; }
public BulkController(IBulkService bulkService) { _bulkService = bulkService; }