public GetLatestTimeResponseType GetLatestTime(GetLatestTimeType request) { string strDtNow = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); Console.WriteLine("accept client request at " + strDtNow); return(new GetLatestTimeResponseType { Result = strDtNow }); }
public GetLatestTimeResponseType GetLatestTime(GetLatestTimeType request) { string strDtNow = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); Console.WriteLine("accept client request at " + strDtNow); return new GetLatestTimeResponseType { Result = strDtNow }; }