Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.Domain.Customers;
namespace Grand.Business.Core.Interfaces.Customers;
public interface ICustomerNoteService
{
#region Customer note
/// <summary>
/// Get note for customer
/// </summary>
/// <param name="id">Note identifier</param>
/// <returns>CustomerNote</returns>
Task<CustomerNote> GetCustomerNote(string id);
/// <summary>
/// Insert an customer note
/// </summary>
/// <param name="customerNote">The customer note</param>
Task InsertCustomerNote(CustomerNote customerNote);
/// <summary>
/// Deletes an customer note
/// </summary>
/// <param name="customerNote">The customer note</param>
Task DeleteCustomerNote(CustomerNote customerNote);
/// <summary>
/// Get notes for customer
/// </summary>
/// <param name="customerId">Customer identifier</param>
/// <param name="displayToCustomer">Display to customer</param>
/// <returns>OrderNote</returns>
Task<IList<CustomerNote>> GetCustomerNotes(string customerId, bool? displayToCustomer = null);
#endregion
}