public CariController(IUnitOfWork unitOfWork, IUserRepository userRepository, ICariRepository cariRepository) { _unitOfWork = unitOfWork; _userRepository = userRepository; _cariRepository = cariRepository; }
public CariManager(ICariRepository cariRepository) : base(cariRepository) { this.cariRepository = cariRepository; }