public async Task AddCategory() { if (await Video.AddCategoryToDatabase(CurrentUser)) { Video.NewCategory.Name = ""; Video.NewCategory.Name_en = ""; Video.DatabaseCategories = await AdminRep.GetCategoriesAsync(); } }
public async Task AddCategory() { if (await Video.AddCategoryToDatabase(CurrentUser)) { Video.NewCategory.Name = ""; Video.NewCategory.Name_en = ""; Video.DatabaseCategories = await AdminRep.GetCategoriesAsync(); } }