public HttpResponseMessage getScoresheetById(int psid)
        {
            try
            {
                var data = _repo.getScoresheet(psid);
                if (data != null)
                {
                    return(Request.CreateResponse(HttpStatusCode.OK, new { success = false, message = "Courses Loaded Sucessfully", result = data }));
                }

                return(Request.CreateResponse(HttpStatusCode.OK, new { success = false, message = "Courses failed Loading!" }));
            }
            catch (Exception ex)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, new { success = false, message = "Error has occured creating this user!" }));
            }
        }