CPE_learningsite
This repository has no backups
This repository's network speed is throttled to 100KB/sec
Upgrade your account to fix these warnings, or use backups.vc for automated backups
d90493cf2f1f435b060f3ae01600f05f801f24a8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
using System; using System.Collections.Generic; using System.Linq; using System.Web; using CPE.App.Api.Models; using CPE.App.Web.Code; using CPE.App.Web.Models; namespace CPE.App.Api.Helpers { public class CertificateBuilder { public static PurchasedCourse CreateCertificate(string a, DateTime b, string c) { var purchasedCourse = BaseController.Database.PurchasedCourses.FirstOrDefault(pc => pc.ContentUrl == a && pc.CertificateDate == b && pc.Ticket == c); return purchasedCourse; } } } |
Commits for CPE_learningsite/CPE/CPE.App/CPE.App.Api/Helpers/CertificateBuilder.cs
Revision | Author | Commited | Message |
---|---|---|---|
4cd176 ... | v.shishlov | Fri 27 Aug, 2021 14:33:17 +0000 | initial commit |