Exemplo n.º 1
0
        public OdsApiResult EditPsiSchool(Models.PsiSchool model)
        {
            var request = _mapper.Map <School>(model);

            return(_restClient.PutResource(request, ResourcePaths.Schools, request.Id));
        }
Exemplo n.º 2
0
        public OdsApiResult AddPsiSchool(Models.PsiSchool newSchool)
        {
            var request = _mapper.Map <School>(newSchool);

            return(_restClient.PostResource(request, ResourcePaths.Schools));
        }