AssetManager.Controllers.RavenAPIController.GetAssets C# (CSharp) Method

GetAssets() public method

public GetAssets ( int ownerID ) : IEnumerable
ownerID int
return IEnumerable
        public IEnumerable<Asset> GetAssets(int ownerID)
        {
            return RavenSession.Query<Asset>().Where(x => x.OwnerId == ownerID);
        }