public ContactController(ApplicationDbContext context) { var unitOfWork = new UnitOfWork.UnitOfWork(context); _repository = unitOfWork.GenericRepository <Contact>();; }