Пример #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));
 }