Beispiel #1
0
        public virtual async Task <OrderDto> UpdateStaffRemarkAsync(Guid id, UpdateStaffRemarkInput input)
        {
            var order = await GetEntityByIdAsync(id);

            await CheckMultiStorePolicyAsync(order.StoreId, OrdersPermissions.Orders.Manage);

            order.SetStaffRemark(input.StaffRemark);

            await Repository.UpdateAsync(order, true);

            return(await MapToGetOutputDtoAsync(order));
        }
Beispiel #2
0
 public virtual Task <OrderDto> UpdateStaffRemarkAsync(Guid id, UpdateStaffRemarkInput input)
 {
     return(_service.UpdateStaffRemarkAsync(id, input));
 }