コード例 #1
0
ファイル: DeployController.cs プロジェクト: hudl/black-mesa
 public ActionResult GetAll()
 {
     var repository = new DeployRepository();
     return JsonNet(new Deploys
     {
         Items = repository.GetSince(DateTime.UtcNow.AddYears(-1000), Int32.MaxValue).ToArray()
     });
 }
コード例 #2
0
ファイル: DeployController.cs プロジェクト: hudl/black-mesa
 public ActionResult Get()
 {
     var repository = new DeployRepository();
     return JsonNet(new Deploys
     {
         Items = repository.GetSince(DateTime.UtcNow.AddMonths(-2), MaxReturnSize).Where(x => x.DateDeleted == null).ToArray()
     });
 }