Beispiel #1
0
        public HttpResponseMessage Post([FromBody] Login login)
        {
            var login11  = loginQuery.ExecuteQueryWith(login);
            var response = new Login()
            {
                Status = login11 != null,
                Path   = "/admin/index.html"
            };

            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }
        public HttpResponseMessage Get([FromUri] string application)
        {
            var branches = getAllBranchesQuery.ExecuteQueryWith(application);

            return(Request.CreateResponse(HttpStatusCode.OK, branches));
        }