public ResponsModel GetPayment() { ResponsModel responsModel = new ResponsModel(); responsModel.Status = "StripePaymenet"; responsModel.ErrorMessage = "Not Available"; return(responsModel); }
public ResponsModel GetPayment() { ResponsModel responsModel = new ResponsModel(); responsModel.Status = "PaypalPaymentService"; responsModel.ErrorMessage = "Not Available"; return(responsModel); }
public ResponsModel Greeting(Person p) { var res = new ResponsModel(); if (DateTime.Now.Hour < 12) { res.Data = $"Good Morning {p.FirstName} {p.LastName}"; res.Message = "All Good"; } res.Data = $"Good Day {p.FirstName} {p.LastName}"; res.Message = "Not So God Good"; return(res); }