public DepreciationBaseViewModel() { DepreciationItem = new DepreciationItem(); CalculateCommand = new DelegateCommand(Calculate); AddYearlyPowerCommand = new DelegateCommand(AddYearlyPower); RemoveYearlyPowerCommand = new DelegateCommand(RemoveYearlyPower); }
public static bool Update(DepreciationItem DepreciationItem) { return(WebApi <bool> .PutAsync(controllerName, DepreciationItem, "Put").Result); }
public static int Insert(DepreciationItem DepreciationItem) { return(WebApi <int> .PostAsync(controllerName, DepreciationItem, "SinglePost").Result); }