Wednesday, January 11, 2017

Using Unit of Work in Controller


UnitOfWork unitOfWork = new UnitOfWork();
var profile = unitOfWork.ProfileRepository.Get(filter: p => p.Code == login);

in the above code filter: will work as where condition 


No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software