public static void PrintInfo(this IQuest quest, string arg) { arg = !string.IsNullOrEmpty(arg) ? $"|{arg}" : string.Empty; Console.WriteLine( $"-=-=-=-=|{LocalizationService.CurrentReader[quest.Name]}|{quest.GetState()}{arg}|=-=-=-=-"); quest.DisplayInfo(); quest.PrintRewards(); }
public ActionResult GetState(Guid gameId) { var game = _quest.GetState(gameId); return(Ok(game)); }