public Response<string> postContactUs(ReqContactUs objReq) { var response = new Response<string>(); string rst = ""; try { var objmethod = new UnseenTalentsMethod(); rst = objmethod.PostContactUs(objReq); if (rst == "1") { response.Create(true, 1, "Request send successfully", rst); } else { response.Create(false, 1, "Invalid request", rst); } } catch (Exception ex) { response.Create(false, -1, Messages.FormatMessage(ex.Message), "0"); } finally { // return response; } return response; }