slarny4/Demo1/Data/Repository/IUserRepository.cs

15 lines
340 B
C#
Raw Permalink Normal View History

2024-10-28 12:42:04 +00:00
using System;
using System.Collections.Generic;
using Demo.Domain.Models;
2024-10-24 08:50:32 +00:00
2024-10-28 12:42:04 +00:00
namespace Demo.Data.Repository
2024-10-24 08:50:32 +00:00
{
public interface IUserRepository
{
IEnumerable<User> GetAllUsers();
User GetUserById(Guid id);
void AddUser(User user);
void UpdateUser(User user);
void DeleteUser(Guid id);
}
}