SES-148 Added reference

This commit is contained in:
Łukasz Góreczny 2021-01-13 09:37:20 +01:00
parent 95b995fd2d
commit 09863e9b8e
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ namespace SessionCompanion.Services.Services
using SessionCompanion.Services.Interfaces;
using SessionCompanion.ViewModels.ApiResponses;
using SessionCompanion.ViewModels.CharacterArmorViewModels;
using SessionCompanion.Extensions.EitherType;
public class CharacterArmorService : ServiceBase<CharacterArmorViewModel, CharacterArmor>, ICharacterArmorService
{
@ -53,7 +54,7 @@ namespace SessionCompanion.Services.Services
await Repository.Update(armorInUse);
await Repository.Update(armorToUse);
await Repository.Save();
return new SuccessResponse("Character weapon updated") { SuccessCode = 204 }
return new SuccessResponse("Character weapon updated") { SuccessCode = 204 };
}
catch (Exception e)
{

View File

@ -10,6 +10,7 @@
<ItemGroup>
<ProjectReference Include="..\SessionCompanion.Database\SessionCompanion.Database.csproj" />
<ProjectReference Include="..\SessionCompanion.Extensions\SessionCompanion.Extensions.csproj" />
<ProjectReference Include="..\SessionCompanion.ViewModels\SessionCompanion.ViewModels.csproj" />
</ItemGroup>