public void GetMaterialTrackingTest() { var materialTracking = _trackingService.GetMaterialTracking(new TrackingParameter(Material.Value.MaterialId, "en")).Result; Assert.IsNotNull(materialTracking); Console.WriteLine(materialTracking); Assert.Pass(); }
public async Task <MaterialTrackingDto> GetMaterial([FromBody] TrackingParameter parameter) { return(await _trackingDbService.GetMaterialTracking(parameter)); }