For this Demo I have created a fake Database+repository as below
public interface IDemoRepository { string[] GetUser
Make sure that your repository is bound to the request scope in Ninject if you want it to be disposed:
kernel.Bind().To().InRequestScope();