예제 #1
0
 public IEnumerable<KeepsByVaultId> GetByVaultId(int vaultId)
 {
     if (ModelState.IsValid) {
     return _repo.GetByVaultId (vaultId);
       }
       return null;
 }
예제 #2
0
        public IEnumerable <Keep> GetKeepsByVaultId(string id)
        {
            var user      = HttpContext.User;
            var sessionId = user.Identity.Name;

            return(_keepsRepo.GetByVaultId(id));
        }
예제 #3
0
 public IEnumerable <Keep> GetKeepsByVault(int id)
 {
     Console.WriteLine("GetByVault called!");
     return(keepDb.GetByVaultId(id));
 }
예제 #4
0
 public IEnumerable<Keep> GetByVaultId(int id)
 {
     return _db.GetByVaultId(id);
 }