예제 #1
0
        public HttpResponseMessage AddSubject(HttpRequestMessage request, SubjectViewModel subjectVm)
        {
            adminApi.AddSubject(subjectVm.ReverseMap());

            var response = request.CreateResponse(HttpStatusCode.OK);

            return(response);
        }