public Response<int> CheckEventStatus(ReqGetEventPosts objReq) { var response = new Response<int>(); int rst = 0; try { var objmethod = new UnseenTalentsMethod(); rst = objmethod.CheckEventStatus(objReq); response.Create(true, 1, "successfully", rst); } catch (Exception ex) { response.Create(false, -1, Messages.FormatMessage(ex.Message), rst); } finally { // return response; } return response; }