public string GetRollMasterDetailById(clsRollMaster obj) { string result = ""; try { RollMaster_Entity objEntities = new RollMaster_Entity(); SP_RollMaster_SelectOneResult objResult = new SP_RollMaster_SelectOneResult(); objResult = objEntities.GetRollMasterDetailById(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string UpdateRollMaster(clsRollMaster obj) { string result = ""; try { RollMaster_Entity objEntities = new RollMaster_Entity(); // SP_customers_SelectOneResult CustomerData = new SP_customers_SelectOneResult(); int objResult; objResult = objEntities.UpdateRollMaster(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }