ITimeU.Models.AthleteClassModel.createDbEntry C# (CSharp) Method

createDbEntry() private static method

private static createDbEntry ( string name ) : AthleteClass
name string
return AthleteClass
        private static AthleteClass createDbEntry(string name)
        {
            AthleteClass athleteClassDb = new AthleteClass();
            athleteClassDb.Name = name;
            saveDbEntry(athleteClassDb);

            return athleteClassDb;
        }