public Response<int> UserRegistration(ReqRegistration objreq) { int rst = 0; var objresponse = new Response<int>(); var objmethod = new UnseenTalentsMethod(); try { rst = objmethod.UserRegistration(objreq); objresponse.Create(true, 0, "User Registration Success", rst); } catch (Exception ex) { objresponse.Create(false, -1, "User Registration Failed", rst); } return objresponse; }
public Response<int> UserRegistration(ReqRegistration objreq) { int rst = 0; Response<int> objresponse = new Response<int>(); UnseenTalentsMethod objmethod = new UnseenTalentsMethod(); try { rst = objmethod.UserRegistration(objreq); objresponse.Create(true, 0, "Events for admin", rst); } catch (Exception ex) { objresponse.Create(false, -1, "", rst); } return objresponse; }