public void GetMaterialTrackingTest()
        {
            var materialTracking = _trackingService.GetMaterialTracking(new TrackingParameter(Material.Value.MaterialId, "en")).Result;

            Assert.IsNotNull(materialTracking);

            Console.WriteLine(materialTracking);
            Assert.Pass();
        }
示例#2
0
 public async Task <MaterialTrackingDto> GetMaterial([FromBody] TrackingParameter parameter)
 {
     return(await _trackingDbService.GetMaterialTracking(parameter));
 }