pan
2025-11-06 42429ae61571ff9563c9e987cd52be2132e77775
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_Model.Models;
using WIDESEA_Model.Models.Basic;
 
namespace WIDESEA_IBasicService
{
    public interface IMaterialUnitService : IService<Dt_MaterialUnit>
    {
        IRepository<Dt_MaterialUnit> Repository { get; }
 
          Task<decimal> ConvertAsync(string materialCode, decimal quantity, string fromUnit, string toUnit);
 
        Task<decimal> ConvertPurchaseToStockAsync(string materialCode, decimal quantity);
 
        Task<decimal> ConvertIssueToStockAsync(string materialCode, decimal quantity);
    }
}