public HttpResponseMessage LogOn(LogOn logOn) { //msg.url = "http://my.company.com/login"; //if (SecurityManager.IsTokenValid(token)) //{ ForToken ret = new ForToken(); ret = repository.LogOn(pclsCache, logOn.PwType, logOn.username, logOn.password, logOn.role); return new ExceptionHandler().LogOn(Request,ret); }
public HttpResponseMessage LogOn(LogOn logOn) { int ret = repository.LogOn(logOn.PwType, logOn.username, logOn.password, logOn.role); return new ExceptionHandler().LogOn(ret); }