I have Create to Different solution totally database login in webapi second project is mvc5 so I confused how to login
Method call in mvc5 project with help of mvc5's controller
WebAPI (API Controller)
[HttpPost]
public bool IsUserExist(string username, string password)
{
return LoginRep.IsUserExist(username, password);
}