login endpoint
This commit is contained in:
parent
1dc09fae4e
commit
4580c2fe17
@ -10,5 +10,6 @@ namespace SessionCompanion.Services.Interfaces
|
|||||||
{
|
{
|
||||||
public interface IUserService : IServiceBase<UserViewModel, User>
|
public interface IUserService : IServiceBase<UserViewModel, User>
|
||||||
{
|
{
|
||||||
|
Task<UserViewModel> SearchUserByNickname(string userName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,5 +17,8 @@ namespace SessionCompanion.Services.Services
|
|||||||
{
|
{
|
||||||
public UserService(IMapper mapper, IRepository<User> repository) : base(mapper, repository)
|
public UserService(IMapper mapper, IRepository<User> repository) : base(mapper, repository)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
public async Task<UserViewModel> SearchUserByNickname(string userName)
|
||||||
|
{ var User = await Repository.Get(u => u.Nickname.Equals(userName)).FirstOrDefaultAsync(); return Mapper.Map<UserViewModel>(User); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,54 @@
|
|||||||
<name>SessionCompanion.ViewModels</name>
|
<name>SessionCompanion.ViewModels</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.AlignmentViewModels.AlignmentViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przynależności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BackgroundViewModels.BackgroundViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przeszłości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator biografii postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.ClassId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator klasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.AlignmentId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przynależności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.BackgroundId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator przeszłości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.BiographyViewModels.BiographyViewModel.Sex">
|
||||||
|
<summary>
|
||||||
|
Płeć postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Name">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterBasicStatsViewModel.Name">
|
||||||
@ -26,7 +71,7 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.UserId">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterForLoginViewModel.UserId">
|
||||||
@ -51,7 +96,7 @@
|
|||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.Id">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.Id">
|
||||||
<summary>
|
<summary>
|
||||||
Identyfikator psotaci
|
Identyfikator postaci
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.UserId">
|
<member name="P:SessionCompanion.ViewModels.CharacterViewModels.CharacterViewModel.UserId">
|
||||||
@ -59,5 +104,450 @@
|
|||||||
Id użytkownika do którego przypisana jest postać
|
Id użytkownika do którego przypisana jest postać
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator charyzmy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość charyzmy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w charyźmie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Deception">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności oszustwa
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanDeception">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w oszustwie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Intimidation">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności zastraszania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanIntimidation">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zastraszaniu
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Performance">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności występowania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanPerformance">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w występowaniu
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.Persuasion">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności perswazji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.CharismaViewModels.CharismaViewModel.CanPersuasion">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w perswazji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ClassViewModels.ClassViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator klasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ClassViewModels.ClassViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa klasy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator kondycji postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość kondycji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.ConstitutionViewModels.ConstitutionViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w kondycji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator zręczności postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość zręczności
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zręczności
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Acrobatics">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności akrobatyki
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanAcrobatics">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w akrobatyce
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.SleightOfHand">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności zwinnych dłoni
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanSleightOfHand">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w zwinnych dłoniach
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.Stealth">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności skradania się
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.DexterityViewModels.DexterityViewModel.CanStealth">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w skradaniu się
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator inteligencji postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość inteligencji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w inteligencji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Arcana">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności wiedzy tejemnej
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanArcana">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w wiedzy tejemnej
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.History">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności historii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanHistory">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w historii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Investigation">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności śledztwa
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanInvestigation">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w śledztwie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Nature">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności przyrody
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanNature">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w przyrodzie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.Religion">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności religii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.IntelligenceViewModels.IntelligenceViewModel.CanReligion">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w religii
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.RaceViewModels.RaceViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator rasy postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.RaceViewModels.RaceViewModel.Name">
|
||||||
|
<summary>
|
||||||
|
Nazwa rasy
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator statystyk postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.ExperiencePoints">
|
||||||
|
<summary>
|
||||||
|
Ilość punktów doświadczenia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Level">
|
||||||
|
<summary>
|
||||||
|
Poziom postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Speed">
|
||||||
|
<summary>
|
||||||
|
Szybkość postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Initiative">
|
||||||
|
<summary>
|
||||||
|
Inicjatywa postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.HealthPoints">
|
||||||
|
<summary>
|
||||||
|
Maksymalna wartość punktów życia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.CurrentHealthPoints">
|
||||||
|
<summary>
|
||||||
|
Aktualna wartość punktów życia
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.ArmorClass">
|
||||||
|
<summary>
|
||||||
|
Klasa pancerza
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StatisticsViewModels.StatisticsViewModel.Proficiency">
|
||||||
|
<summary>
|
||||||
|
Premia z biegłości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator siły postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość siły
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w sile
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.Athletics">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności atletyki
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.StrengthViewModels.StrengthViewModel.CanAthletics">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w atletyce
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator użytkownika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Nickname">
|
||||||
|
<summary>
|
||||||
|
Nazwa użytkowika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.UserViewModels.UserViewModel.Password">
|
||||||
|
<summary>
|
||||||
|
Hasło użytkownika
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Id">
|
||||||
|
<summary>
|
||||||
|
Identyfikator mądrości postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CharacterId">
|
||||||
|
<summary>
|
||||||
|
Identyfikator postaci
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Value">
|
||||||
|
<summary>
|
||||||
|
Wartość mądrości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Modification">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.SavingThrows">
|
||||||
|
<summary>
|
||||||
|
Modyfikator rzutów obronnych
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanSaveThrows">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w mądrości
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.AnimalHandling">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności opieki nad zwierzętami
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanAnimalHandling">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w opiece nad zwierzętami
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Insight">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności intuicji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanInsight">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w intuicji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Medicine">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności medycyny
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanMedicine">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w medycynie
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Perception">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności percepcji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanPerception">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w percepcji
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.Survival">
|
||||||
|
<summary>
|
||||||
|
Wartość umiejętności sztuki przetrwania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SessionCompanion.ViewModels.WisdomViewModels.WisdomViewModel.CanSurvival">
|
||||||
|
<summary>
|
||||||
|
Czy postać posiada biegłość w sztuce przetrwania
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</doc>
|
</doc>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using SessionCompanion.Services.Interfaces;
|
using SessionCompanion.Services.Interfaces;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace SessionCompanion.Controllers
|
namespace SessionCompanion.Controllers
|
||||||
{
|
{
|
||||||
@ -13,5 +14,13 @@ namespace SessionCompanion.Controllers
|
|||||||
{
|
{
|
||||||
this._service = service;
|
this._service = service;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[HttpGet("login")]
|
||||||
|
public async Task<IActionResult> Login(string userName, string password)
|
||||||
|
{
|
||||||
|
var User = await _service.SearchUserByNickname(userName);
|
||||||
|
if (User.Password == password) { return Json(User.Id); }
|
||||||
|
return BadRequest();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user