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