using DbFirst.Domain.Entities;

namespace DbFirst.Application.Repositories;

public interface IMassDataRepository
{
    Task<int> GetCountAsync(CancellationToken cancellationToken = default);
    Task<List<Massdata>> GetAllAsync(int? skip = null, int? take = null, CancellationToken cancellationToken = default);
    Task<Massdata?> GetByCustomerNameAsync(string customerName, CancellationToken cancellationToken = default);
    Task<Massdata> UpsertByCustomerNameAsync(string customerName, decimal amount, bool statusFlag, string category, CancellationToken cancellationToken = default);
}
