示例#1
0
 /// <summary>
 /// Method to set a <see cref="SectionEntity"/> to default.
 /// </summary>
 /// <param name="entityPK">A <see cref="SectionEntity"/> unique id or primary key.</param>
 public async Task <int> SetDefaultAsync(int entityPK)
 {
     using (Db.Context)
     {
         return(await SectionManager.SetDefaultAsync("Sections", "SectionId", entityPK));
     }
 }