slarny4/Demo1/Data/Repository/IUserRepository.cs
2024-10-28 15:42:04 +03:00

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);
}
}