diff --git a/.vs/SportCompetitions/FileContentIndex/1e5ddb11-913f-4ebf-90f1-c711fcb40043.vsidx b/.vs/SportCompetitions/FileContentIndex/1e5ddb11-913f-4ebf-90f1-c711fcb40043.vsidx deleted file mode 100644 index 54ffc95..0000000 Binary files a/.vs/SportCompetitions/FileContentIndex/1e5ddb11-913f-4ebf-90f1-c711fcb40043.vsidx and /dev/null differ diff --git a/.vs/SportCompetitions/FileContentIndex/2376ce91-6db2-4d1c-baeb-fe752e4470d5.vsidx b/.vs/SportCompetitions/FileContentIndex/2376ce91-6db2-4d1c-baeb-fe752e4470d5.vsidx deleted file mode 100644 index 72df2a9..0000000 Binary files a/.vs/SportCompetitions/FileContentIndex/2376ce91-6db2-4d1c-baeb-fe752e4470d5.vsidx and /dev/null differ diff --git a/.vs/SportCompetitions/FileContentIndex/3b24e07e-6198-4b42-b382-e537a6a8ba96.vsidx b/.vs/SportCompetitions/FileContentIndex/3b24e07e-6198-4b42-b382-e537a6a8ba96.vsidx deleted file mode 100644 index 989511c..0000000 Binary files a/.vs/SportCompetitions/FileContentIndex/3b24e07e-6198-4b42-b382-e537a6a8ba96.vsidx and /dev/null differ diff --git a/.vs/SportCompetitions/FileContentIndex/ac5f3f92-813a-4dbb-a9c6-e7a72439e83b.vsidx b/.vs/SportCompetitions/FileContentIndex/ac5f3f92-813a-4dbb-a9c6-e7a72439e83b.vsidx new file mode 100644 index 0000000..082632d Binary files /dev/null and b/.vs/SportCompetitions/FileContentIndex/ac5f3f92-813a-4dbb-a9c6-e7a72439e83b.vsidx differ diff --git a/.vs/SportCompetitions/FileContentIndex/b70ffb8c-7c41-4056-8923-d77766724c49.vsidx b/.vs/SportCompetitions/FileContentIndex/b70ffb8c-7c41-4056-8923-d77766724c49.vsidx new file mode 100644 index 0000000..3b5a547 Binary files /dev/null and b/.vs/SportCompetitions/FileContentIndex/b70ffb8c-7c41-4056-8923-d77766724c49.vsidx differ diff --git a/.vs/SportCompetitions/FileContentIndex/dd5d731d-ab21-435a-8178-51a6290f54be.vsidx b/.vs/SportCompetitions/FileContentIndex/dd5d731d-ab21-435a-8178-51a6290f54be.vsidx new file mode 100644 index 0000000..e862366 Binary files /dev/null and b/.vs/SportCompetitions/FileContentIndex/dd5d731d-ab21-435a-8178-51a6290f54be.vsidx differ diff --git a/.vs/SportCompetitions/FileContentIndex/e0134424-7a63-4255-a047-e450e8568f18.vsidx b/.vs/SportCompetitions/FileContentIndex/e0134424-7a63-4255-a047-e450e8568f18.vsidx deleted file mode 100644 index 815d713..0000000 Binary files a/.vs/SportCompetitions/FileContentIndex/e0134424-7a63-4255-a047-e450e8568f18.vsidx and /dev/null differ diff --git a/.vs/SportCompetitions/FileContentIndex/ea355f35-0870-4aeb-967a-d35d7c194bef.vsidx b/.vs/SportCompetitions/FileContentIndex/ea355f35-0870-4aeb-967a-d35d7c194bef.vsidx new file mode 100644 index 0000000..e887f4f Binary files /dev/null and b/.vs/SportCompetitions/FileContentIndex/ea355f35-0870-4aeb-967a-d35d7c194bef.vsidx differ diff --git a/SportCompetitionsContracts/StoragesContracts/ICompetitionStorage.cs b/SportCompetitionsContracts/StoragesContracts/ICompetitionStorage.cs new file mode 100644 index 0000000..c9b3996 --- /dev/null +++ b/SportCompetitionsContracts/StoragesContracts/ICompetitionStorage.cs @@ -0,0 +1,22 @@ +using SportCompetitionsContracts.BindingModels; +using SportCompetitionsContracts.SearchModels; +using SportCompetitionsContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportCompetitionsContracts.StoragesContracts +{ + public interface ICompetitionStorage + { + List GetFullList(); + List GetFilteredList(CompetitionSearchModel model); + + CompetitionViewModel? GetElement(CompetitionSearchModel model); + CompetitionViewModel? Insert(CompetitionBindingModel model); + CompetitionViewModel? Update(CompetitionBindingModel model); + CompetitionViewModel? Delete(CompetitionBindingModel model); + } +} diff --git a/SportCompetitionsContracts/StoragesContracts/IMemberStorage.cs b/SportCompetitionsContracts/StoragesContracts/IMemberStorage.cs new file mode 100644 index 0000000..7286488 --- /dev/null +++ b/SportCompetitionsContracts/StoragesContracts/IMemberStorage.cs @@ -0,0 +1,22 @@ +using SportCompetitionsContracts.BindingModels; +using SportCompetitionsContracts.SearchModels; +using SportCompetitionsContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportCompetitionsContracts.StoragesContracts +{ + public interface IMemberStorage + { + List GetFullList(); + List GetFilteredList(MemberSearchModel model); + + MemberViewModel? GetElement(MemberSearchModel model); + MemberViewModel? Insert(MemberBindingModel model); + MemberViewModel? Update(MemberBindingModel model); + MemberViewModel? Delete(MemberBindingModel model); + } +} diff --git a/SportCompetitionsContracts/StoragesContracts/IRecordStorage.cs b/SportCompetitionsContracts/StoragesContracts/IRecordStorage.cs new file mode 100644 index 0000000..7b3b763 --- /dev/null +++ b/SportCompetitionsContracts/StoragesContracts/IRecordStorage.cs @@ -0,0 +1,22 @@ +using SportCompetitionsContracts.BindingModels; +using SportCompetitionsContracts.SearchModels; +using SportCompetitionsContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportCompetitionsContracts.StoragesContracts +{ + public interface IRecordStorage + { + List GetFullList(); + List GetFilteredList(RecordSearchModel model); + + RecordViewModel? GetElement(RecordSearchModel model); + RecordViewModel? Insert(RecordBindingModel model); + RecordViewModel? Update(RecordBindingModel model); + RecordViewModel? Delete(RecordBindingModel model); + } +} diff --git a/SportCompetitionsContracts/StoragesContracts/IResultStorage.cs b/SportCompetitionsContracts/StoragesContracts/IResultStorage.cs new file mode 100644 index 0000000..51ef9b6 --- /dev/null +++ b/SportCompetitionsContracts/StoragesContracts/IResultStorage.cs @@ -0,0 +1,22 @@ +using SportCompetitionsContracts.BindingModels; +using SportCompetitionsContracts.SearchModels; +using SportCompetitionsContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportCompetitionsContracts.StoragesContracts +{ + public interface IResultStorage + { + List GetFullList(); + List GetFilteredList(ResultSearchModel model); + + ResultViewModel? GetElement(ResultSearchModel model); + ResultViewModel? Insert(ResultBindingModel model); + ResultViewModel? Update(ResultBindingModel model); + ResultViewModel? Delete(ResultBindingModel model); + } +} diff --git a/SportCompetitionsContracts/StoragesContracts/ITeamStorage.cs b/SportCompetitionsContracts/StoragesContracts/ITeamStorage.cs new file mode 100644 index 0000000..c86975c --- /dev/null +++ b/SportCompetitionsContracts/StoragesContracts/ITeamStorage.cs @@ -0,0 +1,22 @@ +using SportCompetitionsContracts.BindingModels; +using SportCompetitionsContracts.SearchModels; +using SportCompetitionsContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace SportCompetitionsContracts.StoragesContracts +{ + public interface ITeamStorage + { + List GetFullList(); + List GetFilteredList(TeamSearchModel model); + + TeamViewModel? GetElement(TeamSearchModel model); + TeamViewModel? Insert(TeamBindingModel model); + TeamViewModel? Update(TeamBindingModel model); + TeamViewModel? Delete(TeamBindingModel model); + } +}