BCards/src/BCards.Web/Areas/Support/Repositories/IRatingRepository.cs
Ricardo Carneiro b382688a8f
All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 4s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 11m18s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Has been skipped
BCards Deployment Pipeline / Deploy to Release Swarm (ARM) (push) Successful in 17s
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
feat: fale conosco
2025-10-28 19:58:43 -03:00

13 lines
363 B
C#

using BCards.Web.Areas.Support.Models;
namespace BCards.Web.Areas.Support.Repositories;
public interface IRatingRepository
{
Task<Rating> CreateAsync(Rating rating);
Task<List<Rating>> GetRecentAsync(int limit = 10);
Task<double> GetAverageRatingAsync();
Task<int> GetTotalCountAsync();
Task<List<Rating>> GetByUserIdAsync(string userId);
}