public static bool Update(GainAndLossAccount GainAndLossAccount) { return(WebApi <bool> .PutAsync(controllerName, GainAndLossAccount, "Put").Result); }
public static int Insert(GainAndLossAccount GainAndLossAccount) { return(WebApi <int> .PostAsync(controllerName, GainAndLossAccount, "SinglePost").Result); }