示例#1
0
        public ActionResult GetOrganisationDetails(long?organisationId)
        {
            string Model        = string.Concat("{organisationId:", organisationId, "}");
            var    oRequestCode = new Random().Next(0, int.MaxValue);
            var    oRequestTime = DateTime.Now;

            LogHelper.InsertServiceLogs("search/organisationId (GetOrganisationDetails)(" + oRequestCode + ")", Model, oRequestTime);
            var organisation = FeedHelper.GetOrganisationDetailsById(organisationId);

            LogHelper.InsertServiceLogs("search/organisationId (GetOrganisationDetails)- Response(" + oRequestCode + ")", Model, oRequestTime, DateTime.Now);
            return(Ok(organisation));
        }