public void CreateUser([FromBody] UserPostData postData) { _authorisationService.CreateUser(postData.Username, postData.Password); }
public bool CheckAuthorisation([FromBody] UserPostData postData) { return(_authorisationService.CheckAuthentication(postData.Username, postData.Password)); }