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;
|
2021-01-12 12:46:50 +01:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2020-12-27 19:47:13 +01:00
|
|
|
|
public interface ICharacterWeaponService : IServiceBase<CharacterWeaponViewModel, CharacterWeapon>
|
|
|
|
|
{
|
2021-01-12 12:46:50 +01:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|