Esempio n. 1
0
 public async Task <Player> Get(Guid id, string name)
 {
     //Assignment 5.2
     if (string.IsNullOrEmpty(name) == false)
     {
         return(await _processor.GetPlayerByName(name));
     }
     return(await _processor.Get(id));
 }