Exemple #1
0
        public HttpResponseMessage Get()
        {
            var repo     = new BoardRepository();
            var response = Request.CreateResponse();

            response.Content    = new StringContent(JsonConvert.SerializeObject(repo.GetColumns()));
            response.StatusCode = HttpStatusCode.OK;

            return(response);
        }