Вроде усе
This commit is contained in:
18
ClassLibrary1/IAuthorStorageContract.cs
Normal file
18
ClassLibrary1/IAuthorStorageContract.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ClassLibrary1;
|
||||
|
||||
public interface IAuthorStorageContract
|
||||
{
|
||||
List<Author> GetList();
|
||||
Author? GetElementById(string id);
|
||||
Author? GetElementByFIO(string fio);
|
||||
Author? GetElementByEmail(string email);
|
||||
void AddElement(Author author);
|
||||
void UpdElement(Author author);
|
||||
void DelElement(string id);
|
||||
}
|
||||
Reference in New Issue
Block a user