public static long UpdatePhotoLinkByID(long personID, string photoLink) { try { long count = 0; count = AccessDatabase.Update(QueryRepository.Person_Update_PhotoLink_By_PersonID, "@PersonID", personID, "@PhotoLink", photoLink); return(count); } catch (Exception ex) { throw ex; } }
public static long Update(SystemParameter param) { try { long count = 0; count = AccessDatabase.Update(QueryRepository.Param_Update_By_ParamID, "@ParamID", param.ParamID, "@ParamValue", param.ParamValue); return(count); } catch (Exception ex) { throw ex; } }