Beispiel #1
0
        public Stream Login(string username, string password)
        {
            ILoginBusinessService businessService = (ILoginBusinessService)BusinessFactory.Create("Find.Common.Resources.UserLogin");
            OperationResult       result          = businessService.FindByUsernameAndPassword(username, password);

            return(result.ToJsonStream());
        }
Beispiel #2
0
 public LoginController(ILoginBusinessService loginService)
 {
     _loginService = loginService;
 }