15 lines
340 B
C#
15 lines
340 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Demo.Domain.Models;
|
|
|
|
namespace Demo.Data.Repository
|
|
{
|
|
public interface IUserRepository
|
|
{
|
|
IEnumerable<User> GetAllUsers();
|
|
User GetUserById(Guid id);
|
|
void AddUser(User user);
|
|
void UpdateUser(User user);
|
|
void DeleteUser(Guid id);
|
|
}
|
|
} |