public int Create(string Name) { int result = 1; WareUnit sr = WareUnit.CreateWareUnit(1, Name); context.AddToWareUnits(sr); return(result); }