示例#1
0
 public void CreateUser([FromBody] UserPostData postData)
 {
     _authorisationService.CreateUser(postData.Username, postData.Password);
 }
示例#2
0
 public bool CheckAuthorisation([FromBody] UserPostData postData)
 {
     return(_authorisationService.CheckAuthentication(postData.Username, postData.Password));
 }