public static List <EventDetails> GetEventsList() { DateTime eventDate = DateTime.Now.AddHours(2); var retSource = new List <EventDetails> { new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1)), EventLocation = "AEC Offices", EventTitle = "Flight to Salt Lake city", EventId = 1, Status = "Declined", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "12345" } }; eventDate = eventDate.AddHours(2); retSource.Add(new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1.5)), EventLocation = "HDRF - Olaya street", EventTitle = "Team Meeting", EventId = 2, Status = "Accepted", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "13645" }); eventDate = eventDate.AddDays(1).AddHours(-2); retSource.Add(new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1)), EventLocation = "CBA Limited - Riyah, KSA", EventTitle = "Ford project Initialization", EventId = 3, Status = "Accepted", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "2" }); eventDate = eventDate.AddHours(3); retSource.Add(new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1)), EventLocation = "Google Office - Dubai", EventTitle = "Google Conference", EventId = 4, Status = "Accepted", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "3" }); eventDate = eventDate.AddDays(1).AddHours(3); retSource.Add(new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1)), EventLocation = "Excel centre - London UK", EventTitle = "Developers Conference", EventId = 5, Status = "Declined", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "4" }); eventDate = eventDate.AddDays(3); retSource.Add(new EventDetails { EventStart = UtilHelper.ConvertDateToSqlDate(eventDate), EventEnd = UtilHelper.ConvertDateToSqlDate(eventDate.AddHours(1)), EventLocation = "office abc - Riyah, KSA", EventTitle = "Client meetup", EventId = 6, Status = "Accepted", PhoneNumber = "01234567890", Email = "*****@*****.**", AdditionalInfo = "Dress code is required", JobPostId = "5" }); return(retSource); }