// todo this method add userIp details public dynamic adduserRegion(PC_UserRegion Model) { try { if (Model.IP != "" && Model.Country != "" && Model.City != "") { var data = dal.AddUserRegion(Model); return(data); } else { return(shared.returnMessageJSON(Messages.SignUpInValidDataTitle, Messages.SignUpInValidDataDescription, true)); } } catch (Exception E) { return(shared.returnMessageJSON(E.Data.ToString(), E.Message.ToString(), true)); } }