public void CreateRawMaterial(CreateRawMaterialInput input) { var rawmaterial = new RawMaterial { RawMaterialTypeId = input.RawMaterialTypeId, BrandId = input.BrandId, ProductName = input.ProductName, Model = input.Model, Size = input.Size, Color = input.Color, Origin = input.Origin, ProductUnitId = input.ProductUnitId, ReOrderPoint = input.ReOrderPoint, CreatorUserId = input.CreatorUserId }; _RawMaterialRepository.Insert(rawmaterial); }