Ejemplo n.º 1
0
        public ActionResult GetNewlyAddedAlbumPhoto(string filename, int size, int albumId)
        {
            string username = GetUsername();
            var    tile     = _repository.FindMomentoFromAlbumBySizeAndName(new FindMomentoFromAlbumBySizeAndNameInParameters
            {
                Filename = filename,
                Size     = size,
                Username = username,
                AlbumId  = albumId
            });

            return(Json(new List <Tile> {
                tile
            }));
        }