18 lines
385 B
C#
18 lines
385 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Interfaces
|
|
{
|
|
public interface IUserStorage
|
|
{
|
|
User GetUser(int id);
|
|
User GetUser(string guid);
|
|
bool DeleteUser(int id);
|
|
bool DeleteUser(string guid);
|
|
bool UpdateUser(User user);
|
|
bool CreateUser(User user);
|
|
}
|
|
}
|