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