Esempio n. 1
0
 public async Task <QueryResult> RemoveCharacter(string character)
 {
     if (string.IsNullOrEmpty(character))
     {
         return(QueryResult.EmptyField(nameof(character)));
     }
     return(QueryResult.QueryFailed(await _characterManager.RemoveCharacterAsync(character)));
 }