first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Fitness_core_BE.Models;
|
||||
|
||||
namespace Fitness_core_BE.Interfaces
|
||||
{
|
||||
public interface IAdminSuggestionRepository
|
||||
{
|
||||
Task<(List<WorkoutPlan> Workouts, List<MealPlan> Meals)> GetPublishedAsync(CancellationToken ct = default);
|
||||
Task<WorkoutCategory?> FindWorkoutCategoryAsync(string name, CancellationToken ct = default);
|
||||
Task<MealCategory?> FindMealCategoryAsync(string name, CancellationToken ct = default);
|
||||
Task AddWorkoutCategoryAsync(WorkoutCategory category, CancellationToken ct = default);
|
||||
Task AddMealCategoryAsync(MealCategory category, CancellationToken ct = default);
|
||||
Task AddWorkoutAsync(WorkoutPlan plan, CancellationToken ct = default);
|
||||
Task AddMealAsync(MealPlan plan, CancellationToken ct = default);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user