20 lines
746 B
C#
20 lines
746 B
C#
using SessionCompanion.Database.Tables;
|
|
using SessionCompanion.Extensions.EitherType;
|
|
using SessionCompanion.Services.Base;
|
|
using SessionCompanion.ViewModels.ApiResponses;
|
|
using SessionCompanion.ViewModels.ShopkeeperViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SessionCompanion.Services.Interfaces
|
|
{
|
|
public interface IShopkeeperService : IServiceBase<ShopkeeperViewModel, Shopkeeper>
|
|
{
|
|
Task<Either<SuccessResponse, ErrorResponse>> CreateNewShopKeeper(ShopkeeperWithItemsViewModel shopkeeperWithItemsViewModel);
|
|
Task<Either<SuccessResponse, ErrorResponse>> ChangeShopkeeperStatus(int shopkeeperId, bool availability);
|
|
}
|
|
}
|