Files
Course/ClassLibrary1/IAuthorStorageContract.cs
2025-06-07 17:57:26 +04:00

19 lines
447 B
C#

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