using System.Threading.Tasks; using StockMaster.Models; namespace StockMaster.Services { public interface IAuthService { Task AuthenticateAsync(string username, string password); Task GetUserByIdAsync(int userId); Task CreateUserAsync(User user, string password); } }