source: StockMaster/Services/IAuthService.cs

main
Last change on this file was dfe03b8, checked in by Ceyda <ceyda.huseini@…>, 3 days ago

Initialize StockMaster project

  • Property mode set to 100644
File size: 325 bytes
Line 
1using System.Threading.Tasks;
2using StockMaster.Models;
3
4namespace StockMaster.Services
5{
6 public interface IAuthService
7 {
8 Task<User> AuthenticateAsync(string username, string password);
9 Task<User> GetUserByIdAsync(int userId);
10 Task<bool> CreateUserAsync(User user, string password);
11 }
12}
Note: See TracBrowser for help on using the repository browser.