public virtual SP_UserRightsMaster_SelectOneResult GetUserRightsMasterDetailByid(clsUserRightsMaster obj) { SP_UserRightsMaster_SelectOneResult objResult = new SP_UserRightsMaster_SelectOneResult(); try { objResult = (SP_UserRightsMaster_SelectOneResult)db.SP_UserRightsMaster_SelectOne(obj.Urid); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); throw ex; } return(objResult); }
public string GetUserRightsMasterDetailByid(clsUserRightsMaster obj) { string result = ""; try { UserRightsMaster_Entity objEntities = new UserRightsMaster_Entity(); SP_UserRightsMaster_SelectOneResult objResult = new SP_UserRightsMaster_SelectOneResult(); objResult = objEntities.GetUserRightsMasterDetailByid(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }