I am creating new instnace provider which resolve services through Unity. I am not sure how to add the configuration in web.config. Following is my service class.
public class Service : IService {
private IUnitOfWork _unitOfWork;
private IMyRepository _myRepository;
// Dependency Injection enabled constructors
public Service(IUnitOfWork uow, IMyRepository myRepository)
{
_unitOfWork = uow;
_myRepository = myRepository;
}
public bool DoWork()
{
return true;
}
}