public bool UpdateDob(NFLPlayer p, DateTime dob) { TflDataLibrarian.SetDob( playerId: p.PlayerCode, dob: dob); return(true); }
public bool SetDob( NFLPlayer p, DateTime dob) { Logger.Info($"SetDob: {p.PlayerName}"); try { TflDataLibrarian.SetDob( p.PlayerCode, dob); Logger.Info($"{p.PlayerName} dob updated to {dob:u}"); } catch (Exception ex) { Logger.Error( $"Error in SetDob : {ex.Message}"); return(false); } return(true); }