session-companion/SessionCompanion/SessionCompanion.Services/Intefraces/ICharacterWeaponService.cs

18 lines
696 B
C#
Raw Normal View History

2020-12-27 19:47:13 +01:00
using SessionCompanion.Database.Tables;
using SessionCompanion.Services.Base;
using SessionCompanion.ViewModels.CharacterWeaponViewModels;
namespace SessionCompanion.Services.Interfaces
{
2021-01-13 19:29:32 +01:00
using SessionCompanion.Extensions.EitherType;
using SessionCompanion.ViewModels.ApiResponses;
using System.Collections.Generic;
using System.Threading.Tasks;
2020-12-27 19:47:13 +01:00
public interface ICharacterWeaponService : IServiceBase<CharacterWeaponViewModel, CharacterWeapon>
{
Task<List<CharacterWeaponWithWeaponDetailsViewModel>> GetCharacterWeaponsList(int characterId);
2021-01-13 19:29:32 +01:00
Task<Either<SuccessResponse, ErrorResponse>> ChangeCharacterWeapon(CharacterWeaponViewModel model);
2020-12-27 19:47:13 +01:00
}
}