18 lines
702 B
C#
18 lines
702 B
C#
// src/Webshop.Application/Services/Admin/IAdminShippingMethodService.cs
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application;
|
|
using Webshop.Application.DTOs.Shipping;
|
|
|
|
namespace Webshop.Application.Services.Admin
|
|
{
|
|
public interface IAdminShippingMethodService
|
|
{
|
|
Task<ServiceResult<IEnumerable<ShippingMethodDto>>> GetAllAsync();
|
|
Task<ServiceResult<ShippingMethodDto>> GetByIdAsync(Guid id);
|
|
Task<ServiceResult<ShippingMethodDto>> CreateAsync(ShippingMethodDto shippingMethodDto);
|
|
Task<ServiceResult> UpdateAsync(ShippingMethodDto shippingMethodDto);
|
|
Task<ServiceResult> DeleteAsync(Guid id);
|
|
}
|
|
} |