C# 클래스 WorldSurveyKit.Controllers.OrgUserMappingController

상속: ApiController
파일 보기 프로젝트 열기: ntheile/World-Survey-Kit

공개 메소드들

메소드 설명
DeleteOrgUserMappings ( int id ) : HttpResponseMessage

DELETE's a user from an org by passing in the id primary key from the OrgUserMapping Table

GetOrgUserMappings ( int id ) : HttpResponseMessage

GET's all the users from the orgID that is passed in

PostOrgUserMappings ( OrgUserMappings orgusermappings ) : HttpResponseMessage

CREATE's a new user for an org

PutOrgUserMappings ( int id, Delta orgusermappings ) : HttpResponseMessage

UPDATES a user by his OrgUserMapping Id that is passed in. You could use this api to make a user an admin. Can be used for partial updates

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

DeleteOrgUserMappings() 공개 메소드

DELETE's a user from an org by passing in the id primary key from the OrgUserMapping Table
public DeleteOrgUserMappings ( int id ) : HttpResponseMessage
id int
리턴 System.Net.Http.HttpResponseMessage

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetOrgUserMappings() 공개 메소드

GET's all the users from the orgID that is passed in
public GetOrgUserMappings ( int id ) : HttpResponseMessage
id int
리턴 System.Net.Http.HttpResponseMessage

PostOrgUserMappings() 공개 메소드

CREATE's a new user for an org
public PostOrgUserMappings ( OrgUserMappings orgusermappings ) : HttpResponseMessage
orgusermappings WorldSurveyKit.Models.OrgUserMappings
리턴 System.Net.Http.HttpResponseMessage

PutOrgUserMappings() 공개 메소드

UPDATES a user by his OrgUserMapping Id that is passed in. You could use this api to make a user an admin. Can be used for partial updates
public PutOrgUserMappings ( int id, Delta orgusermappings ) : HttpResponseMessage
id int
orgusermappings Delta
리턴 System.Net.Http.HttpResponseMessage