private Models.Api.InLabClient GetInLabClient(Badge b) { var result = new InLabClient() { LastName = b.LastName, FirstName = b.FirstName, AccessEventTime = b.CurrentAccessTime.Value }; return(result); }
private Item CreateRssItem(InLabClient x) { return(new Item() { Title = x.FullName, Description = string.Format("{0:#.00 hours}", x.Duration), Link = x.CardNumber, PubDate = x.EventDateTime, Guid = x.ClientID.ToString() }); }