public long GetDeleteLocationMasterById(LocationMaster lm) { try { if (lm.Id > 0) { mbc.GetDeleteLocationrowById(lm); return(lm.Id); } return(0); } catch (Exception ex) { throw ex; } finally { } }